Interface: AnimationFeatureDependentInterface

AnimationFeatureDependentInterface

Class factory interface for features that are dependent on the AnimationFeature
being present on the host. Layer and animation events will automatically be
listened for once a AnimationFeature is added to the host and stopped once it
is removed.

Properties:
Name Type Description
EVENT_DEPENDENCIES Object

Events that the feature should start/stop
listening for when a feature of type FeatureName is added/removed from the host.

Properties
Name Type Description
AnimationFeature Object

Events that are
specific to the AnimationFeature.

Properties
Name Type Attributes Default Description
addLayer string <optional>
'_onLayerAdded'

The name of the method that will be executed when AnimationFeature addLayer
events are emitted.

removeLayer string <optional>
'_onLayerRemoved'

The name of the method that will be executed when AnimationFeature removeLayer
events are emitted.

renameLayer string <optional>
'_onLayerRenamed'

The name of the method that will be executed when AnimationFeature renameLayer
events are emitted.

addAnimation string <optional>
'_onAnimationAdded'

The name of the method that will be executed when AnimationFeature addAnimation
events are emitted.

removeAnimation string <optional>
'_onAnimationRemoved'

The name of the method that will be executed when AnimationFeature removeAnimation
events are emitted.

renameAnimation string <optional>
'_onAnimationRenamed'

The name of the method that will be executed when AnimationFeature renameAnimation
events are emitted.

Extends

Methods

(static) Mixin(BaseClass) → {Class}

Creates a class that implements AnimationFeatureDependentInterface
and extends a specified base class.

Parameters:
Name Type Description
BaseClass Class

The class to extend.

Returns:

A class that extends BaseClass and implements AnimationFeatureDependentInterface.

Type
Class

discard()

Inherited From: