Confirm
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Confirm
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Display a blocking confirm dialog with two buttons: confirm on the right and cancel on the left.
Pressing the confirm button will trigger the first output.
Pressing the cancel button will trigger the second output.
Input arguments
Label | Key | Type | Required? | Default | Description |
---|---|---|---|---|---|
Dialog title | title |
Json | Yes | Confirm? | Title text to show on the confirm dialog. |
Dialog message | message |
Json | No | – | Message text to show under the title. |
Confirm button label | confirmLabel |
String | No | Confirm | Text label on the confirm button. |
Cancel button label | cancelLabel |
String | No | Cancel | Text label on the cancel button |
Output arguments
Number of outputs: 2
Label | Key | Type | Description |
---|---|---|---|
Confirmed? | confirmed |
Boolean | true if the confirm button was pressed, false if the cancel button was pressed. |
Events
No events.
Errors
Label | Code | Description |
---|---|---|
Unknown error | unknown |
Unknown error occure while trying to get clipboard content. |
Was this article helpful?