StackView.Slider Class
Defined in:
_views\StackView.js:95
An animated backbone view slider that supports unlimited number of separated views. Be sure to check CSS file for additional configuration via classes: .page.left .page.center .page.right .page.transition Animation can be configured for GPU hardware acceleration as well as in vertical and horizontal modes (all via CSS).
Constructor
StackView.Slider
()
Object
Returns:
Object:
instantiated StackView.Slider
Item Index
Methods
Methods
constructor
(
-
options
Class init
Parameters:
-
options
Objectbackbone (config done through CSS)
selectView
(
-
i_view
Select the initial default view
Parameters:
-
i_view
Objectbackbone view
slideToPage
(
-
i_toView
-
i_direction
The main functions which allows the animated sliding of one view to the next
Parameters:
-
i_toView
Objectbackbone view
-
i_direction
Objectprovide 'left' or 'right'