presentation-carousel
v3.0.7
Published
The Augmented.js Next - Presentation Carousel Module.
Downloads
11
Maintainers
Readme
presentation-carousel
Augmented.js Next Presentation - Carousel Component
API
Table of Contents
ImageCarouselView
Extends DirectiveView
Image Carousel View - Simple scrolling image carousel Pass an array of objects as an "images" option. Supports the following options:
Parameters
options
Examples
const ic = new ImageCarouselView({ "images": [ { "src": "uri", "value": "xyz", "caption": "This is a cool image" }, ... ] });
changed
Is called when the carousel is changed.
Parameters
value
String passed to the method
value
Parameters
value
Properties
value
Number The value of the carousel. Also calls user overridable callback "changed"
position
Properties
position
Number The position of the carousel.
left
moves the carousel to the left
Parameters
e
right
moves the carousel to the right
Parameters
e
render
renders the view
Returns object this
remove
removes the view
Returns object this