Interface BaseClickHelper

The common interface for CompoundClickHelper and GenericClickHelper. All click state properties must be at least gettable, and optionally settable.

interface BaseClickHelper {
    get clickState(): ClickState;
    get clickStateChanged(): boolean;
    get lastClickState(): ClickState;
    get wasClick(): boolean;
    doneProcessing(): void;
    reset(): void;
}

Implemented by

Accessors

Methods

  • Reset the click helper to its default state, except for the clickStateChanged flag, which is set to true. Only call this if absolutely necessary, such as when the owner Widget is re-activated (this way, hover states don't linger when a Widget is disabled).

    You may be looking for BaseClickHelper#doneProcessing instead.

    Returns void