-
Notifications
You must be signed in to change notification settings - Fork 137
SelectionAnimation
-
Animation
-
ParentAnimation
- ParallelAnimation
- SequenceAnimation
- SelectionAnimation
- FadeAnimation
- PropertyAnimation
- ScaleAnimation
- Action
-
ParentAnimation
SelectionAnimation (inherits ParentAnimation)
The SelectionAnimation will run a single animation chosen from of its child animations. It is important to note that the SelectionAnimation ignores the duration and fps properties, and will let each of its child animations use any settings they please. This is a base class with no functional implementation, so consider using ConditionAnimation or CaseAnimation instead.
Name | Description |
---|---|
constructor(target, duration, fps, animations) | |
getSelectedIndex() | Get the index of the animation that is selected to be played. If this returns an index outside the bounds of the child animations array, then nothing is played. |
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) | The onStep method is called repeatedly to progress the animation through each frame. |
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 to be played.
Get the index of the animation that is selected to be played. If this returns an index outside the bounds of the child animations array, then nothing is played.
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.
The onStep method is called repeatedly to progress the animation through each frame.
Params:
-
percentage
- Type: Number
- Description: Percentage of the animation already complete.
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