Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Interface. Select Action

sprotty-protocol / SelectAction

Interface: SelectAction

Defined in: actions.ts:357

Triggered when the user changes the selection, e.g. by clicking on a selectable element. The resulting SelectCommand changes the selected state accordingly, so the elements can be rendered differently. This action is also forwarded to the diagram server, if present, so it may react on the selection change. Furthermore, the server can send such an action to the client in order to change the selection programmatically.

Properties

deselectedElementsIDs

deselectedElementsIDs: string[]

Defined in: actions.ts:360


kind

kind: "elementSelected"

Defined in: actions.ts:358


selectedElementsIDs

selectedElementsIDs: string[]

Defined in: actions.ts:359