Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
play Method
Calls fade.play(params) and slide.play(params) according to properties of this class. If hide is false or not set, then that method also make element visible. If hide is true and both fade and slide are null or both do not have duration, then that method also hides element.
Syntax
ASP.NET Ajax Javascript (Specification) | |
---|
function play(
: {DomElement},
: Boolean,
: Boolean,
: Boolean,
: {Any},
: Function,
: {Any}
) : Boolean; |
ASP.NET Ajax Javascript (Usage) | |
---|
var resultVar = instanceOfSlideFadeAnimation.play({DomElement},Boolean,Boolean,Boolean,{Any},Function,{Any}); |
Parameters
- elem
- Reference to html element. If elem is missing or null, then current slide and fade animations are disposed.
- show
- True: request to show element, false: hide element.
- up
- True: request to slide from bottom to up.
- right
- True: request to slide from right to left.
- stopListnerObj
- Object which has member stopListnerFnc.
- stopListnerFnc
- Member function of stopListnerObj, which is called on stop of animation.
- customObj
- Second param in stopListnerFnc. Note: first param is same as "show".
Return Value
True: animation was started, false: no animation (missing element or no duration).