SelectionStateBase

SelectionStateBase

A basic interface for selection states.

Inherited by TrackInnerSelectionState and ArrangementSelectionState.

Methods

clearAll() → {boolean}

Unselects all object types supported by this selection state. Return true if the selection has changed.

Returns:
Type
boolean

hasSelectedContent() → {boolean}

Check if there's anything selected.

Returns:
Type
boolean

hasUnfinishedEdits() → {boolean}

Check if there's any unfinished edit on the selected objects.

For example, this will return true if the user is dragging around a few notes/control points but has not yet released the mouse.

Returns:
Type
boolean