Home Manual Reference Source Repository
import ContextEditionState from 'waves-ui/src/states/context-edition-state.js'
public class | source

ContextEditionState

Extends:

src/states/base-state~BaseState → ContextEditionState

A state to interact directly with layers time contexts.

example usage, see. advanced usage

Constructor Summary

Public Constructor
public

constructor(timeline: *)

Member Summary

Public Members
public
public
public

Method Summary

Public Methods
public

handleEvent(e: *)

public

onMouseDown(e: *)

public

onMouseMove(e: *)

public

onMouseUp(e: *)

Public Constructors

public constructor(timeline: *) source

Params:

NameTypeAttributeDescription
timeline *

Public Members

public currentLayer: * source

public currentTarget: * source

public mouseDown: boolean source

Public Methods

public handleEvent(e: *) source

Params:

NameTypeAttributeDescription
e *

public onMouseDown(e: *) source

Params:

NameTypeAttributeDescription
e *

public onMouseMove(e: *) source

Params:

NameTypeAttributeDescription
e *

public onMouseUp(e: *) source

Params:

NameTypeAttributeDescription
e *