new Scale(cfg)
A scalable plugin for xscroll.
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cfg |
object |
|
Extends
Members
-
staticScale.pluginIdstring
-
a pluginId
Methods
-
staticScale.pluginDestructor(){Scale}
-
detroy the plugin
-
staticScale.pluginInitializer(){Infinite}
-
plugin initializer
-
staticScale.scaleTo(scale, originX, originY, duration, easing, callback)
-
scale with an animation
Name Type Description scale
number originX
number 0~1 originY
number 0~1 duration
number easing
string callback
function