Class YAHOO.widget.TVAnim
| Package: | YAHOO.widget |
| Class: | TVAnim |
| Extends: | Object |
| Defined In: | treeview.js |
A static factory class for tree view expand/collapse animations
Public Properties
| |
FADE_IN : string |
TVAnim |
| <static> Constant for the fade in animation |
| |
FADE_OUT : string |
TVAnim |
| <static> Constant for the fade out animation |
Public Methods
| |
getAnim(type {string}, el {HTMLElement}, callback {function}) : YAHOO.util.Animation |
TVAnim |
| <static> Returns a ygAnim instance of the given type |
| |
isValid(type {string}) : boolean |
TVAnim |
| <static> Returns true if the specified animation class is available |
Public Events
This class has no public events.
Property Details
FADE_IN
public string FADE_IN
<static> Constant for the fade in animation
This property is defined by TVAnim.
FADE_OUT
public string FADE_OUT
<static> Constant for the fade out animation
This property is defined by TVAnim.
Method Details
getAnim
public function getAnim(type {string}, el {HTMLElement}, callback {function})
<static> Returns a ygAnim instance of the given type
Parameters:
Returns:
YAHOO.util.Animationthe animation instance
This method is defined by TVAnim.
isValid
public function isValid(type {string})
<static> Returns true if the specified animation class is available
Parameters:
{string} : typethe type of animation
Returns:
This method is defined by TVAnim.