The measurement widget that is currently being used.
Unit system (imperial, metric) or specific unit used for displaying the area values.
The ID or node representing the DOM element containing the widget.
The widget's default CSS icon class.
The unique ID assigned to the widget when the widget is created.
The widget's label.
Unit system (imperial, metric) or specific unit used for displaying the distance values.
The view model for this widget.
Indicates whether the widget is visible.
A utility method used for building the value for a widget's class
property.
Removes all measurement widgets and associated graphics.
Destroys the widget instance.
Emits an event on the instance.
Indicates whether there is an event listener on the instance that matches the provided event name.
isFulfilled()
may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).
isRejected()
may be used to verify if creating an instance of the class is rejected.
isResolved()
may be used to verify if creating an instance of the class is resolved.
Registers an event handler on the instance.
Widget teardown helper.
This method is primarily used by developers when implementing custom widgets. Executes after widget is ready for rendering.
This method is primarily used by developers when implementing custom widgets. It must be implemented by subclasses for rendering.
Renders widget to the DOM immediately.
This method is primarily used by developers when implementing custom widgets. Schedules widget rendering.
Starts a new measurement for the active measurement widget.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
Specifies the current measurement tool to display.
Read more...