meteoJS/timeline/animation
Source: timeline/
Child class
Methods
Abstract type
Class
Animation
Methods
insertFrequencyButtonGroup(node, options) → external:jQuery
Insert an button-group to change frequency.
import { insertFrequencyButtonGroup } from 'meteojs/timeline/Animation';
Parameters
Name | Type | Optional | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node |
|
Node to insert the button-group. |
|||||||||||||||||||||||||
options |
Object |
|
Options for the button-group. Values in
|
- Returns
-
external:jQuery
Button-group node.
insertFrequencyInput(node, options) → external:jQuery
Insert an input-group to change frequency.
import { insertFrequencyInput } from 'meteojs/timeline/Animation';
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node |
|
Node to insert input-group. |
|||||||||||||
options |
Object |
|
Options for input-group. Values in
|
- Returns
-
external:jQuery
Input-group node.
insertFrequencyRange(node, options) → external:jQuery
Insert an input-range to change frequency.
import { insertFrequencyRange } from 'meteojs/timeline/Animation';
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node |
|
Node to insert input-range. |
|||||||||||||
options |
Object |
|
Options for input-range. Values in
|
- Returns
-
external:jQuery
Input-range node.
insertRestartPauseButtonGroup(node, options) → external:jQuery
Insert an button-group to change restart pause.
import { insertRestartPauseButtonGroup } from 'meteojs/timeline/Animation';
Parameters
Name | Type | Optional | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node |
|
Node to insert the button-group. |
|||||||||||||||||||||||||
options |
Object |
|
Options for the button-group. Values in
|
- Returns
-
external:jQuery
Button-group node.
insertRestartPauseInput(node, options) → external:jQuery
Insert an input-group to change restart pause.
import { insertRestartPauseInput } from 'meteojs/timeline/Animation';
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node |
|
Node to insert input-group. |
|||||||||||||
options |
Object |
|
Options for input-group. Values in
|
- Returns
-
external:jQuery
Input-group node.
insertRestartPauseRange(node, options) → external:jQuery
Insert an input-range to change restart pause.
import { insertRestartPauseRange } from 'meteojs/timeline/Animation';
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node |
|
Node to insert input-range. |
|||||||||||||
options |
Object |
|
Options for input-range. Values in
|
- Returns
-
external:jQuery
Input-range node.
Abstract type
options Object
Options for animation constructor.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
timeline |
|
Timeline to animate. |
|
restartPause |
number |
Yes |
Time in seconds to pause before the animation restart. Defaults to |
imagePeriod |
number |
Yes |
Time in seconds between animation of two images. Ignored, if imageFrequency is specified. Defaults to |
imageFrequency |
(number or undefined) |
Yes |
Time of images during one second. |
enabledStepsOnly |
boolean |
Yes |
Use only enabled times. Defaults to |
allEnabledStepsOnly |
boolean |
Yes |
Use only times that are enabled by all sets of time. Defaults to |
Events
change:imageFrequency
Event triggered when imageFrequency/imagePeriod is changed.
change:restartPause
Event triggered when restartPause is changed.
end:animation
Event on reaching last timestamp.
restart:animation
Event triggered immediatly before restart of animation.
start:animation
Event on animation start.
stop:animation
Event on animation stop.