getSelection()

Gets a list of elements selected on the editor canvas.

Syntax

Copy

Returns

Promise<Element[]>

Array containing Element objects.

Example

Copy
Did this help?