APIs

Show:

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

constructor

(
  • options
)

Class init

Parameters:

  • options Object

    backbone (config done through CSS)

selectView

(
  • i_view
)

Select the initial default view

Parameters:

  • i_view Object

    backbone view

slideToPage

(
  • i_toView
  • i_direction
)

The main functions which allows the animated sliding of one view to the next

Parameters:

  • i_toView Object

    backbone view

  • i_direction Object

    provide 'left' or 'right'