new XScrollMaster(cfg)
A master for multi-scrollers.
Name | Type | Description |
---|---|---|
cfg |
object | config for master. |
Extends
Methods
-
staticXScrollMaster.get(id){XScroll}
-
find xscroll instance
Name Type Description id
string element id for xscroll instance Returns:
instance
-
staticXScrollMaster.init(cfg, selector){XScrollMaster}
-
init the master
Name Type Description cfg
object config for master selector
string xscroll root elements,it will be set to xscroll.renderTo -
staticXScrollMaster.render(){XScrollMaster}
-
render xscrolls