AnimationLayersHandler

AnimationLayersHandler

Handler for loading animation layers

Constructor

new AnimationLayersHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ConfigHandler constructor arguments.

Methods

_setInitialState(layer, stateKey)

Sets current state on a layer if possible, otherwise clears current state

Parameters:
Name Type Description
layer AnimationLayer
stateKey string

_update(ref, config, options) → {Promise}

Adds/updates/removes the animation layers

Parameters:
Name Type Description
ref string
config Object
options Object