|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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 |
void addClassName(<String> className)
class attribute if it's not already there.className - The CSS class name.
void applyTransition(definition, <bool> reversed)
reversed - Indicates whether the transition is to be applied in reverse.
transitionDefinition - The transition applied to the element.
Object getBounds()
Object hasChild(<Element> child)
child - The child to search for
bool hasClassName(<String> className)
class attribute.className - The CSS class name.
class attribute.
void removeAllChildren()
void removeClassName(<String> className)
class attribute if it's there.className - The CSS class name.
void toggleClassName(<String> className)
class attribute if it's not there, or removes it if it's already set.className - The CSS class name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||