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
LengthAnimation
MikhailTymchukDX edited this page Apr 12, 2017
·
2 revisions
- Animation
LengthAnimation (inherits InterpolatedAnimation)
The LengthAnimation is identical to Sys.Extended.UI.Animation.InterpolatedAnimation except it adds a unit to the value before assigning it to the property.
Name | Description |
---|---|
unit | Unit of the interpolated values. The default value is 'px'. |
Name | Description |
---|---|
constructor(target, duration, fps, property, propertyKey, startValue, endValue, unit) | |
getAnimatedValue(percentage) | Get the interpolated length value. |
Unit of the interpolated values. The default value is 'px'.
Getter name: get_unit()
Setter name: set_unit(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).
-
startValue
- Type: Object
- Description: Start of the range of values.
-
endValue
- Type: Object
- Description: End of the range of values.
-
unit
- Type: String
- Description: Unit of the interpolated values. The default value is 'px'.
Get the interpolated length value.
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