OpacityAction - DevExpress/AjaxControlToolkit GitHub Wiki
- Animation
Action)
OpacityAction (inheritsOpacityAction allows you to set the opacity of the target.
Client properties
Name | Description |
---|---|
opacity | The opacity value to set to the target element. |
Client methods
Name | Description |
---|---|
constructor(target, duration, fps, opacity) | |
doAction() | Sets the target element's opacity. |
Client properties
opacity
The opacity value to set to the target element.
Getter name: get_opacity()Setter name: set_opacity(value)
Client methods
constructor(target, duration, fps, opacity)
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.
-
opacity
- Type: Number
- Description: Opacity to set the target.
doAction()
Sets the target element's opacity.