Classes
Members
keydown
Handle key down event.
- Source
mousedown
Handle mouse down event.
- Source
mousemove
Handle mouse move event.
- Source
mouseout
Handle mouse out event.
- Source
mouseup
Handle mouse up event.
- Source
touchend
Handle touch end event.
- Source
touchmove
Handle touch move event.
- Source
touchstart
Handle touch start event.
- Source
wheel
Handle mouse wheel event.
- Source
Methods
activate(bool)
Activate the tool and activates/deactivates the context menu of all dwv div ids.
Parameters:
Name | Type | Description |
---|---|---|
bool | boolean | The flag to activate or not. |
- Source
getEventNames() → {Array}
Get the list of event names that this tool can fire.
- Source
Returns:
The list of event names.
- Type:
- Array
getHelpKeys() → {object}
Help for this tool.
- Source
Returns:
The help content.
- Type:
- object
init()
Initialise the tool.
- Source
setFeatures(features)
Set the tool live features. See the documentation of the class members for details.
Parameters:
Name | Type | Description |
---|---|---|
features | object | The list of features. |
- Source