getSelection()

Gets a list of elements selected on the editor canvas.

Syntax

Copy

Returns

Promise<Element[]>

Array containing Element objects.

Example

Copy

Last updated: 9 February 2025

Did this help?