Pathfinder 1e for Foundry VTT
    Preparing search index...

    Class DragDropApplication

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Methods

    • Protected

      Define whether a user is able to conclude a drag-and-drop workflow for a given drop selector

      Parameters

      • selector: string

        The candidate HTML selector for the drop target

      Returns boolean

      Can the current user drop on this selector?

    • Protected

      Define whether a user is able to begin a dragstart workflow for a given drag selector

      Parameters

      • selector: string

        The candidate HTML selector for dragging

      Returns boolean

      Can the current user drag this selector?

    • Protected

      Callback actions which occur when a dragged element is over a drop target.

      Parameters

      • event: DragEvent

        The originating DragEvent

      Returns void

    • Protected

      Callback actions which occur at the beginning of a drag start workflow.

      Parameters

      • event: DragEvent

        The originating DragEvent

      Returns void

    • Protected

      Callback actions which occur when a dragged element is dropped on a target.

      Parameters

      • event: DragEvent

        The originating DragEvent

      Returns Promise<void>

    • Protected

      Actions performed after any render of the Application. Post-render steps are not awaited by the render process.

      Parameters

      • context: ApplicationRenderContext

        Prepared context data

      • options: RenderOptions

        Provided render options

      Returns void