-
Notifications
You must be signed in to change notification settings - Fork 4
Dots
Eric edited this page May 9, 2020
·
10 revisions
Dots is a very simple object to display the number of slides/panels/views and to indicate which slide/panel/view is currently displayed. It is automatically created as part of a Carousel if the dots parameter is set to true
Carousel + Dots
Dots in Carousel
Extends
Touch
let config = {
el:_STRING_, //selector
current:_INT_, //the current active light
total:_INT_, //the total of lights to display
clickable:_BOOL_ //if the lights are clickable
};
let dots = new OGX.Object.create('Dots', config);
dots.select(_INDEX_);
dots.destroy();
- Welcome
- Changelog
- Structure
- Configuration
- Getting started
- CLI
- Poly
- Core
- Templating
- Routing
- Controllers
- Components
- Extra Components
- Helpers
- Styling
- Debugging