Class zwt.animation.Size
Extends
zwt.animation.Animation.
A size animation is used to animate the size of an element (height or width).
Defined in: Size.js.
Constructor Attributes | Constructor Name and Description |
---|---|
zwt.animation.Size(Element_element)
Construct a size animation.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
zwt.animation.Size.TYPE_HEIGHT
Indicate a height animation
|
<static> |
zwt.animation.Size.TYPE_WIDTH
Indicate a width animation
|
Method Attributes | Method Name and Description |
---|---|
getType()
Return the size animation type.
|
|
setType(The)
Set the size animation type.
|
- Methods borrowed from class zwt.animation.Animation:
- getAnimationEventManager, getDuration, getEngine, onEvent, setDuration, setEngine, step
Class Detail
zwt.animation.Size(Element_element)
Construct a size animation.
Author: Jeremy KUHN.
Author: Jeremy KUHN.
- Parameters:
- {Element} Element_element
- The HTML element to animate.
Field Detail
<static>
{Integer}
zwt.animation.Size.TYPE_HEIGHT
Indicate a height animation
<static>
{Integer}
zwt.animation.Size.TYPE_WIDTH
Indicate a width animation
Method Detail
{Integer}
getType()
Return the size animation type.
- Returns:
- The size animation type
setType(The)
Set the size animation type.
- Parameters:
- {Integer} The
- size animation type