Skip to main content

Function: deletePresetQuestion()

deletePresetQuestion(translations, name): AskOptions

Defined in: src/ui/ask/index.ts:140

The question asked before deleting one of the user's brush presets, in the chosen language.

Parameters​

translations​

Pick<default, "t">

name​

string

Returns​

AskOptions

Example​

await askConfirm(this.renderRoot, deletePresetQuestion(this.translations, "Ink"));