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:
- showCaption - Shows the caption
- postion - starting position
- images - image array with the following format:
[{ src: "", value: "", caption: "" }]
Parameters
options
Examples
const ic = "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