Class CompoundClickHelper

A class that mixes multiple GenericClickHelper instances into one. Useful if you want a widget to be both clickable by a pointer and by the enter key

Hierarchy

Implements

Constructors

Properties

clickHelpers: GenericClickHelper[]

The GenericClickHelper instances being mixed

Accessors

  • get clickStateChanged(): boolean
  • See clickStateChanged.

    Note that this does not check if the combined state has changed, it only check if any of the states in clickHelpers has changed, meaning that this can be true while clickState is equal to lastClickState. To check whether the combined state changed, compare the aforementioned values. This is the default behaviour so that clicks aren't dropped.

    Returns boolean

Methods

Generated using TypeDoc