Represents the VueJS Carousel Component.
<ejs-carousel :items='carouselItems'></ejs-carousel>
boolean
Defines whether to allow keyboard interaction.
Defaults to true
CarouselAnimationSettingsModel
Specifies the datasource for the carousel items.
Defaults to { effect: ‘Slide’, customEffect: null }
string
Accepts the template for navigation arrows.
Defaults to null
boolean
Defines whether to the slide transition is automatic or manual.
Defaults to true
string
Specifies the classes to customize carousel.
Defaults to null
Record[]
Specifies the datasource for the carousel items.
Defaults to []
boolean
Enable or disable persisting component’s state between page reloads.
Defaults to false
boolean
Enable or disable rendering component in right to left direction.
Defaults to false
boolean
Defines whether to enable swipe action on touch devices.
Defaults to true
string
| number
Specifies the height of the Carousel in pixels/number/percentage. Number value is considered as pixels.
Defaults to ‘auto’
Record
Defines htmlAttributes used to add custom attributes to carousel. Supports HTML attributes such as style, class, etc.
Defaults to null
string
Accepts the template for indicators.
Defaults to null
boolean
Defines whether to the slide transitions loop end or not.
Defaults to true
number
Specifies the value for slide transition.
Defaults to 5000
string
Specifies the template option for carousel items.
Defaults to null
An array of item that is used to specify carousel items.
Defaults to []
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Defaults to ”
string
Accepts the template for play/pause button.
Defaults to null
number
Specifies index of the current carousel item.
Defaults to 0
string
Defines how to show the previous and next arrows.
Defaults to ‘Static’
boolean
Defines whether to show indicators.
Defaults to true
boolean
Defines whether to show play button.
Defaults to false
string
| number
Specifies the width of the Carousel in pixels/number/percentage. Number value is considered as pixels.
Defaults to ‘100%’
Method for destroy the carousel component.
Returns void
Method to transit from the current slide to the next slide.
Returns void
Method to pause the slides programmatically.
Returns void
Method to play the slides programmatically.
Returns void
Method to transit from the current slide to the previous slide.
Returns void
EmitType<SlideChangedEventArgs>
The event will be fired once slide is changed.
EmitType<SlideChangingEventArgs>
The event will be fired before the slide change.