See the dojox/fx/text reference documentation for more information.
Split a block of text into words or letters
Returns an animation that will split the node into a grid of pieces that move independently.
NOTE:
In some rendering engines, the text will appear to "jump" from its initial position
when the animation begins. To work around this bug, enclose the node's text in a <p>
or <div>
.
Parameter | Type | Description |
---|---|---|
args | Object |
|
Split a block of text into words or letters and backspace them in sequence
Returns an animation that will split the text into spans of words or characters that appear as if they were being backspaced (or typed) in real-time.
Parameter | Type | Description |
---|---|---|
args | Object |
|
Split a block of text into words or letters and fade them
Returns an animation that will split the text into spans of words or characters that fade in or out.
Parameter | Type | Description |
---|---|---|
args | Object |
|
Split a block of text into words or letters and let them fall
Returns an animation that will split the text into spans of words or characters that drop.
Parameter | Type | Description |
---|---|---|
args | Object |
|
Explode a block of text into words or letters
Returns an animation that will split the text into a spans of words or characters that fly away from the center.
Parameter | Type | Description |
---|---|---|
args | Object |
|