v7.3.0

Tool

Base class for tools.

May be configured with a cls and a handler which is a function (or name of a function) in the owning Panel.

This widget is not intended to be used directly

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • If provided, turns the tool into a link

  • A ClickRepeater config object to specify how click-and-hold gestures repeat the click action.

  • align : 'start'/'end''end'

    Specify 'start' to place the tool before the owner's central element (e.g., the title of the panel).

Properties

Properties are getters/setters or publicly accessible variables on this class
  • isTool : Booleantrue
    READONLY
    static
    ADVANCED
    Identifies an object as an instance of Tool class, or subclass thereof.
  • isTool : Booleantrue
    READONLY
    ADVANCED
    Identifies an object as an instance of Tool class, or subclass thereof.

Events

Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

Event handlers

Event handlers are callbacks called as a result of certain actions in this class
type: tool

Source path

Core/widget/Tool.js

Contents