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

SelectionState

Extends:

src/states/base-state~BaseState → SelectionState

A state to select shapes.

Constructor Summary

Public Constructor
public

constructor(timeline: *)

Member Summary

Public Members
public
public
public
public

Method Summary

Public Methods
public

enter()

public

exit()

public

handleEvent(e: *)

public

onClick(e: *)

public

onKey(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 mouseDown: boolean source

public selectedItems: * source

public shiftKey: boolean source

Public Methods

public enter() source

public exit() source

public handleEvent(e: *) source

Params:

NameTypeAttributeDescription
e *

public onClick(e: *) source

Params:

NameTypeAttributeDescription
e *

public onKey(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 *