ApplicationClickAction: (
    event: PointerEvent,
    target: HTMLElement,
) => void | Promise<void>

An on-click action supported by the Application. Run in the context of a foundry.applications.api.HandlebarsApplicationMixin.

Type declaration

    • (event: PointerEvent, target: HTMLElement): void | Promise<void>
    • Parameters

      • event: PointerEvent

        The originating click event

      • target: HTMLElement

        The capturing HTML element which defines the [data-action]

      Returns void | Promise<void>