class ActuateEffectContext
package feathers.motion.effects.actuate
extends BaseEffectContext
A Feathers UI effect context that uses the Actuate library.
To create actuators for use with ActuateEffectContext, use the static
functions from the ActuateForEffects class instead of the standard
Actuate class. ActuateEffectContext requires special actuators with
several extra properties that don't exist on the default IGenericActuator
interface returned by the methods on Actuate.
In the following example, a custom effect is created with
ActuateForEffects and ActuateEffectContext:
var customFadeOutEffect = function(target:Dynamic):IEffectContext
{
var actuator = ActuateForEffects.tween(target, 1.0, {alpha: 0.0});
return new ActuateEffectContext(target, actuator);
};
@jgranick/actuate on Github](https://github.com/jgranick/actuate)
1.0.0
.See also:
[
Constructor
new(target:Dynamic, actuator:IReadableGenericActuator, interruptBehavior:EffectInterruptBehavior = END)
Creates a new ActuateEffectContext object from the given arguments.
1.0.0
.Variables
read onlyactuator:IReadableGenericActuator
The actuator that is controlled by the effect.
1.0.0
.See also:
interruptBehavior:EffectInterruptBehavior
Indicates how the effect behaves when it is interrupted. Interrupted effects can either advance directly to the end or stop at the current position.
1.0.0
.See also: