DrawToolUI

Draw tool UI.

Constructor

new DrawToolUI(app, toolConfig)

Parameters:
NameTypeDescription
appApp

The associated application.

toolConfigobject

The tool configuration.

Classes

DrawToolUI

Methods

getHtml() → {HTMLElement|undefined}

Get the HTML element of the tool UI.

Returns:

The element.

Type: 
HTMLElement | undefined

getValue() → {object|undefined}

Get the value of the tool UI.

Returns:

The value.

Type: 
object | undefined

registerListeners()

Bind app to ui.