dialog.setPrompt() function
Sets the function to be run when Blockly.dialog.prompt() is called.
Signature:
export declare function setPrompt(promptFunction: (p1: string, p2: string, p3: (p1: string | null) => void) => void): void;
Parameters
Parameter | Type | Description |
---|---|---|
promptFunction | (p1: string, p2: string, p3: (p1: string | null) => void) => void | The function to be run. |
Returns:
void