Class: SelectionIndicator

SelectionIndicator

new SelectionIndicator(container, scene)

A component used to display indicators on selected objects.

Name Type Description
container Element | String

The DOM element or ID that contains the widget.

scene Scene

The scenario instance to be used.

Throws:

There is no element with ID 'container' in the document.

Type
DeveloperError

Members

containerElement

Retrieve the parent container.

Obtain the view model.

Methods

destroy()

Destruction of components. If you want to permanently delete a widget from the layout, you should call this command.

isDestroyed(){Boolean}

Returns:
Type Description
Boolean If the object has been destroyed, it is true; otherwise, it is false.