Class Element

Object
   |
   +--Element

class Element

 
Method Summary
 void addClassName(<String> className)
           Adds the given class name to the element's class attribute if it's not already there.
 void applyTransition(definition, <bool> reversed)
           Applies a transition definition to the element, allowing the transition to be reversed.
 Object getBounds()
          
 Object hasChild(<Element> child)
           Returns true if the element has the given child node FIXME: should this be on Node?
 bool hasClassName(<String> className)
           Indicates whether the element has a given class name within its class attribute.
 void removeAllChildren()
           Removes all the children from an element.
 void removeClassName(<String> className)
           Removes the given class name from the element's class attribute if it's there.
 void toggleClassName(<String> className)
           Adds the given class name to the element's class attribute if it's not there, or removes it if it's already set.


Method Detail

addClassName

void addClassName(<String> className)

applyTransition

void applyTransition(definition, <bool> reversed)

getBounds

Object getBounds()

hasChild

Object hasChild(<Element> child)

hasClassName

bool hasClassName(<String> className)

removeAllChildren

void removeAllChildren()

removeClassName

void removeClassName(<String> className)

toggleClassName

void toggleClassName(<String> className)


Documentation generated by JSDoc on Tue Sep 15 21:24:36 2009