onslide
Onslide is a term used in web UI development to describe a callback or event fired when a slide transition occurs in a slideshow or carousel. It is not part of the standard DOM specification; its exact form and payload depend on the library or framework implementing the component. The callback is typically used to react to the active slide changing, such as updating indicators, loading content for the next slide, or sending analytics data.
Implementation and naming of onslide vary by library. Some libraries expose an onslide option or property in
In practice, examples of usage differ across ecosystems. Bootstrap’s carousel, for instance, fires slide-related events during
Considerations when using onslide include understanding that it is not standardized, so code portability is limited.