ICarouselItemProps
interface
Carousel
Props for OrigamCarouselItem — extends IImgProps (src, alt, cover, aspect-ratio, eager) and IWindowItemProps (value, disabled, eager transition), plus a transition override.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- transitionboolean | string
- Override the slide transition. Pass false to disable, or a CSS transition name to customise. Default is inherited from OrigamCarousel.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Carousel item with image and custom transition