Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Type Alias ApplicationClickAction

    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>