Introduction

You can use an Element to read and modify the properties of editor elements. An Element represents a component on the editor's canvas, allowing you to interact with its attributes and behavior.

The getSelection() method returns one or more Element objects, and the onSelectionChange() event handler receives them as arguments when the selection changes.

Did this help?