The question, shown in bold; 1–200 characters.
OptionaldetailMore 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.
The confirm button's text (the default button: Enter picks it); 1–40 characters.
OptionalcancelThe cancel button's text (Escape picks it); 1–40 characters.
OptionaldestructiveMark 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.
OptionalcheckboxA checkbox, such as "Don't ask again" (in the player, at the left of the buttons); 1–40 characters.
OptionalargsValues 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.
Options of Dialogs.confirm. Lengths count Unicode characters (one Chinese character is one character).
Since
1.0.0