This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 137
DiscreteAnimation
MikhailTymchukDX edited this page Apr 12, 2017
·
2 revisions
-
Animation
- ParentAnimation
- FadeAnimation
-
PropertyAnimation
- DiscreteAnimation
- InterpolatedAnimation
- ScaleAnimation
- Action
DiscreteAnimation (inherits PropertyAnimation)
The DiscreteAnimation inherits from Sys.Extended.UI.Animation.PropertyAnimation and sets the value of the property to the elements in a provided array of values.
Name | Description |
---|---|
values | Array of possible values of the property that will be iterated over as the animation is played |
Name | Description |
---|---|
constructor(target, duration, fps, property, propertyKey, values) | |
getAnimatedValue(percentage) | Assign the value whose index corresponds to the current percentage. |
Array of possible values of the property that will be iterated over as the animation is played
Getter name: get_values()
Setter name: set_values(value)
Params:
-
target
- Type: Object
- Description: Length of the animation in seconds. The default is 1.
-
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.
-
property
- Type: Object
- Description: Property of the target element to set when animating.
-
propertyKey
- Type: Object
- Description: optional key of the property to be set (which indicates the value property[propertyKey], like style['backgroundColor']). Note that for the style property, the key must be in a JavaScript friendly format (i.e. backgroundColor instead of background-color).
-
values
- Type: Object
- Description: Array of possible values of the property that will be iterated over as the animation is played.
Assign the value whose index corresponds to the current percentage.
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