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

SimpleEditionState

Extends:

src/states/base-state~BaseState → SimpleEditionState

A state to select and edit shapes in a simple way. (kind of plug n play state)

Constructor Summary

Public Constructor
public

constructor(timeline: *)

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

enter()

public

exit()

public

handleEvent(e: *)

public

onMouseDown(e: *)

public

onMouseMove(e: *)

public

onMouseUp(e: *)

Public Constructors

public constructor(timeline: *) source

Params:

NameTypeAttributeDescription
timeline *

Public Members

public currentEditedLayer: * source

public currentTarget: * source

Public Methods

public enter() source

public exit() source

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 *