@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface ConfirmOptions

    Options of Dialogs.confirm. Lengths count Unicode characters (one Chinese character is one character).

    1.0.0

    interface ConfirmOptions {
        message: TextValue;
        detail?: TextValue;
        confirm: TextValue;
        cancel?: TextValue;
        destructive?: boolean;
        checkbox?: TextValue;
        args?: TemplateArgs;
    }
    Index
    message: TextValue

    The question, shown in bold; 1–200 characters.

    detail?: TextValue

    More text under the message; at most 2000 characters. In the confirmation drawn in the player a long detail scrolls and the buttons stay in view.

    confirm: TextValue

    The confirm button's text (the default button: Enter picks it); 1–40 characters.

    cancel?: TextValue

    The cancel button's text (Escape picks it); 1–40 characters.

    "Cancel", in the player's language
    
    destructive?: boolean

    Mark the confirm button as destructive. Only a tool window's system dialog shows it (a warning icon on Windows, red button text on macOS); the confirmation drawn in the player marks nothing, as its approval sheet marks no destructive step. Enter confirms either way.

    false

    checkbox?: TextValue

    A checkbox, such as "Don't ask again" (in the player, at the left of the buttons); 1–40 characters.

    Values for the placeholders of message and detail. Any of the texts may instead be a Text, which carries its own arguments; args only fills the string ones. Every text of the dialog is English source text that the player shows translated from the plugin's catalog; message and detail are templates like Osd.show's. The length limits apply to the shown text.

    1.5.9