Xivgear Types Documentation
    Preparing search index...
    • Ask for confirmation to delete something.

      The confirmation can be bypassed by holding 'alt' while clicking the button.

      Parameters

      • event: { altKey: boolean }

        The event (so that modifiers can be checked). Must have a boolean property 'altKey'.

      • message: string

        The message to ask the user. Do not include the 'hold alt to bypass' notice.

      Returns boolean

      true if the user confirms, or if alt was held to bypass confirmation. false if alt was not held and the user backed out.