-
Notifications
You must be signed in to change notification settings - Fork 139
ParentAnimation
-
Animation
- ParentAnimation
- FadeAnimation
- PropertyAnimation
- ScaleAnimation
- Action
ParentAnimation (inherits Animation)
The ParentAnimation serves as a base class for all animations that contain children (such as Sys.Extended.UI.Animation.ParallelAnimation, Sys.Extended.UI.SequenceAnimation, etc.). It does not actually play the animations, so any classes that inherit from it must do so. Any animation that requires nested child animations must inherit from this class, although it will likely want to inherit off of Sys.Extended.UI.Animation.ParallelAnimation or Sys.Extended.UI.SequenceAnimation which will actually play their child animations.
Name | Description |
---|---|
animations | Array of child animations to be played (there are no assumptions placed on order because it will matter for some derived animations like Sys.Extended.UI.Animation.SequenceAnimation, but not for others like Sys.Extended.UI.Animation.ParallelAnimation). To manipulate the child animations, use the functions add, clear, remove, and removeAt. |
Name | Description |
---|---|
add(animation) | Add an animation as a child of this animation. |
clear() | Clear the array of child animations. This will dispose the cleared child animations. |
constructor(target, duration, fps, animations) | |
remove(animation) | Remove the animation from the array of child animations. This will dispose the removed animation. |
removeAt(index) | Remove the animation at a given index from the array of child animations. |
Array of child animations to be played (there are no assumptions placed on order because it will matter for some derived animations like Sys.Extended.UI.Animation.SequenceAnimation, but not for others like Sys.Extended.UI.Animation.ParallelAnimation). To manipulate the child animations, use the functions add, clear, remove, and removeAt.
Getter name: get_target()
Add an animation as a child of this animation.
Params:
-
animation
- Type: Object
- Description: Child animation to add.
Clear the array of child animations. This will dispose the cleared child animations.
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.
Remove the animation from the array of child animations. This will dispose the removed animation.
Params:
-
animation
- Type: Object
- Description: Child animation to remove.
Remove the animation at a given index from the array of child animations.
Params:
-
index
- Type: Number
- Description: Index of the child animation to remove.
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