AnimationExtender (demo)

An extender used to play animations when a control's events fire.

Properties

Name Description
OnClick OnClick animation
OnHoverOut OnHoverOut animation
OnHoverOver OnHoverOver animation
OnLoad OnLoad animation
OnMouseOut OnMouseOut animation
OnMouseOver OnMouseOver animation

Client properties

onClick
Generic OnClick Animation's JSON definition
Getter name: get_onClick()
Setter name: set_onClick(value)

onClickBehavior
Generic OnClick Animation's behavior
Getter name: get_onClickBehavior()

onHoverOut
Generic OnHoverOut Animation's JSON definition
Getter name: get_onHoverOut()
Setter name: set_onHoverOut(value)

onHoverOver
Generic OnHoverOver Animation's JSON definition
Getter name: get_onHoverOver()
Setter name: set_onHoverOver(value)

onHoverOverBehavior
Generic OnHoverOver Animation's behavior
Getter name: get_onHoverOverBehavior()

onHoverOverBehavior
Generic OnHoverOut Animation's behavior
Getter name: get_onHoverOverBehavior()

onLoad
Generic OnLoad Animation's JSON definition. Setting the OnLoad property will cause it to be played immediately
Getter name: get_onLoad()
Setter name: set_onLoad(value)

onLoadBehavior
Generic OnLoad Animation's behavior
Getter name: get_onLoadBehavior()

onLoadBehavior
Generic OnMouseOver Animation's behavior
Getter name: get_onLoadBehavior()

onMouseOut
Generic OnMouseOut Animation's JSON definition
Getter name: get_onMouseOut()
Setter name: set_onMouseOut(value)

onMouseOutBehavior
Generic OnMouseOut Animation's behavior
Getter name: get_onMouseOutBehavior()

onMouseOver
Generic OnMouseOver Animation's JSON definition
Getter name: get_onMouseOver()
Setter name: set_onMouseOver(value)

Client methods

playOnClick()
Plays animation.

playOnMouseOut()
Plays OnMouseOver/OnHoverOver animations

playOnMouseOver()
Plays OnMouseOver/OnHoverOver animations

Last edited Sep 14, 2015 at 9:55 AM by MikhailTymchukDX, version 1