CAPH.CORE.EFFECT
The "effect" is a namespace which provides basic animation using CSS3.
Methods
move | ||
Description | ||
Move the designated element | ||
Parameters | ■element - Object ■x - int - x axis ■y - int - y axis ■z - int - z axis ■duration - int - ms ■ease - String - specifies the type of animation easing to use. It could be set as one of the values below. * ease, linear, ease-in, ease-out, ease-in-out, cubic-bezier, intial, inherit ■delay - int - ms | |
Return | ■void | |
Emulator Support | Y | |
SDK Constraint | Support from version 5.1 | |
Example | ||
caph.core.effect.move(this.el, 100, 100, 0, 0, "ease-out", 0); |