-
Notifications
You must be signed in to change notification settings - Fork 139
SequenceAnimation
- Animation
SequenceAnimation (inherits ParentAnimation)
The SequenceAnimation runs several animations one after the other. It can also repeat the sequence of animations for a specified number of iterations (which defaults to a single iteration, but will repeat forever if you specify zero or less iterations). Also, the SequenceAnimation cannot be a child of a Sys.Extended.UI.Animation.ParallelAnimation (or any animation inheriting from it).
Name | Description |
---|---|
isInfinite | A boolean value that determines whether or not animation runs in an infinite loop until it is explicitly stopped. |
iterations | Number of times to repeatedly play the sequence. If zero or less iterations are specified, the sequence will repeat forever. The default value is 1 iteration. |
Name | Description |
---|---|
constructor(target, duration, fps, animations, iterations) | The SequenceAnimation ignores the duration and fps properties, and will let each of its child animations use any settings they please. |
onEnd() | The onEnd method is called just after the animation is played each time. |
onStart() | The onStart method is called just before the animation is played each time. |
onStep(percentage) | Raises an invalid operation exception because this will only be called if a SequenceAnimation has been nested inside an Sys.Extended.UI.Animation.ParallelAnimation (or a derived type). |
pause() | Pause the animation if it is playing. Calling play will resume where the animation left off. |
play() | Play the sequence of animations from the beginning or where it was left off when paused. |
stop() | Stop playing the entire sequence of animations. |
A boolean value that determines whether or not animation runs in an infinite loop until it is explicitly stopped.
Getter name: get_isInfinite()
Number of times to repeatedly play the sequence. If zero or less iterations are specified, the sequence will repeat forever. The default value is 1 iteration.
Getter name: get_iterations()
Setter name: set_iterations(value)
The SequenceAnimation ignores the duration and fps properties, and will let each of its child animations use any settings they please.
Params:
-
target
- Type: Object
- Description: Target of the animation.
-
duration
- Type: Number
- Description: Length of the animation in seconds. The default is 1.
-
fps
- Type: Number
- Description: Number of steps per second. The default is 25.
-
animations
- Type: Object
- Description: Array of child animations.
-
iterations
- Type: Number
- Description: Number of times to repeatedly play the sequence. If zero or less iterations are specified, the sequence will repeat forever. The default value is 1 iteration.
The onEnd method is called just after the animation is played each time.
The onStart method is called just before the animation is played each time.
Raises an invalid operation exception because this will only be called if a SequenceAnimation has been nested inside an Sys.Extended.UI.Animation.ParallelAnimation (or a derived type).
Params:
-
percentage
- Type: Number
- Description: Percentage of the animation already complete.
Pause the animation if it is playing. Calling play will resume where the animation left off.
Remarks: If this animation is the child of another, you must call pause on its parent instead.
Play the sequence of animations from the beginning or where it was left off when paused.
Remarks: If this animation is the child of another, you must call play on its parent instead.
Stop playing the entire sequence of animations.
Remarks: Stopping this animation will perform the last step of each child animation, thereby leaving their target elements in a state consistent with the animation playing completely. If this animation is the child of another, you must call stop on its parent instead.
This content was moved from https://ajaxcontroltoolkit.codeplex.com/documentation to this Documentation wiki. This is now the authoritative location of the AJAX Control Toolkit documentation.
- Step-by-Step Installation Guide
- Upgrading from v7.x and below
- Uninstalling the AJAX Control Toolkit
- Troubleshooting Installer Issues
- Updating the Project from CI Builds
- How to Use Bundling and CDN
- Creating a Custom Localization
- Creating a Custom Control
- Design Standards
Controls:
- Accordion
- AjaxFileUpload
- AreaChart
- AsyncFileUpload
- BarChart
- BubbleChart
- ComboBox
- Editor (deprecated)
- Gravatar
- LineChart
- NoBot
- PieChart
- Rating
- ReorderList
- Seadragon
- TabContainer
- TabPanel
Extenders:
- AlwaysVisibleControl
- Animation
- AutoComplete
- BalloonPopup
- Calendar
- CascadingDropDown
- CollapsiblePanel
- ColorPicker
- ConfirmButton
- DragPanel
- DropDown
- DropShadow
- DynamicPopulate
- FilteredTextBox
- HoverMenu
- HtmlEditor
- ListSearch
- MaskedEdit
- MaskedEditValidator
- ModalPopup
- MultiHandleSlider
- MutuallyExclusiveCheckBox
- NumericUpDown
- PagingBulletedList
- PasswordStrength
- PopupControl
- ResizableControl
- RoundedCorners
- Slider
- SlideShow
- TextBoxWatermark
- ToggleButton
- UpdatePanelAnimation
- ValidatorCallout