OptionalonFunction to execute when the tool is activated.
OptionalonFunction to execute when the tool is deactivated.
OptionalactivationCustom activation event to listen to. Defaults to the default click event name.
OptionalclickClick mode that will hold this tool when activated. Defaults to ClickMode.left.
OptionalcustomCustom activation
function. If provided, is called with (el, manager) to define when the tool is activated.
OptionalkeyOptional keyboard key to map to this tool. When pressed, it will be set as the current key tool.
OptionalmanagerThe event manager instance this tool should register against. Defaults
to TurboEventManager.instance.
Description
Options used to create a new tool attached to an element via makeTool.