tracking-code-which-will-go-to-the-HEAD ToggleSelectionAction

Class

ToggleSelectionAction

ToggleSelectionAction()

Action to toggle selection of a component.
Constructor

# new ToggleSelectionAction()

View Source draw/action/ToggleSelectionAction.js, line 6

Methods

# finalize(event) → {boolean}

Add or remove selected component id from selection. If selection is toggle on different container, it will clear all selection and toggle only target component inside the new container.
Parameters:
Name Type Description
event object The event containing the target information.

View Source draw/action/ToggleSelectionAction.js, line 14

Need to draw.
boolean