-
-
Method Summary
Modifier and Type Method Description static Animationinstantiate()StringgetJsBase()voidduration()Getter for the animation duration. Animationduration(Number duration)Setter for animation duration in milliseconds. voidenabled()Getter for the animation state. Animationenabled(Boolean enabled)Setter for the animation enabled state. voidremoveAllListeners(String type)Removes all listeners from an object. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). -
-
Constructor Detail
-
Animation
Animation(String jsChart)
-
-
Method Detail
-
instantiate
static Animation instantiate()
-
duration
void duration()
Getter for the animation duration.
-
duration
Animation duration(Number duration)
Setter for animation duration in milliseconds. See sample at animation.
-
enabled
void enabled()
Getter for the animation state.
-
enabled
Animation enabled(Boolean enabled)
Setter for the animation enabled state. See sample at animation.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
-
-
-