projects/components/widgets/advanced/carousel/src/carousel.directive.doc.ts
The wmCarousel
directive defines a carousel widget.
Methods |
Inputs |
onChange | ||||||||||||||||
onChange(widget: any, newIndex: number, oldIndex: number)
|
||||||||||||||||
Callback function which will be triggered when the widget is clicked or when datavalue has changed.
Parameters :
Returns :
void
|
animation |
Type : string
|
Default value : 'auto'
|
This property controls the animation of an element. The animation is based on the CSS classes and works only in the run mode. Allowed Values:
|
animationinterval |
Type : number
|
Default value : 3
|
This property defines the animation interval in seconds. |
class |
Type : string
|
Class of the widget. |
controls |
Type : string
|
Default value : 'both'
|
This property allows you to enable the controls for the selected widget Allowed Values:
|
name |
Type : string
|
Name of the carousel widget. |
show |
Type : boolean
|
Default value : true
|
This property will be used to show/hide the carousel widget on the web page. |