Property controlling the visibility and order of create tool buttons.
The ID or node representing the DOM element containing the widget.
The graphic that is being created.
Defines the default behavior once the create operation is completed.
Default create options set for the Sketch widget.
Default update options set for the Sketch widget.
The Sketch widget's default CSS icon class.
The unique ID assigned to the widget when the widget is created.
The widget's label.
The GraphicsLayer associated with the Sketch widget.
Determines the layout/orientation of the Sketch widget.
The SnappingOptions for sketching.
The Sketch widget's state.
An array of graphics that are being updated by the Sketch widget.
The view model for the Sketch widget.
Indicates whether the widget is visible.
The visible elements that are displayed within the widget.
A utility method used for building the value for a widget's class
property.
Create a graphic with the geometry specified in the tool
parameter.
Deletes the selected graphics used in the update workflow.
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.
Widget teardown helper.
This method is primarily used by developers when implementing custom widgets. Executes after widget is ready for rendering.
Incrementally redo actions recorded in the stack.
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.
Incrementally undo actions recorded in the stack.
Initializes an update operation for the specified graphic(s) and fires update event.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
When creating new graphics (for example after create() has been called), this property reflects the create tool being used.
Read more...