mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
alert dialog labels
This commit is contained in:
1 parent
8dc1650ff2
commit
f60f018370
1 file changed
+4
@@ -40,6 +40,10 @@ lib.alertDialog(data)
|
|||||||
* Centers the dialog vertically and horizontally.
|
* Centers the dialog vertically and horizontally.
|
||||||
* cancel?: `boolean`
|
* cancel?: `boolean`
|
||||||
* Displays a cancel button (ESC is still available if this is not defined).
|
* Displays a cancel button (ESC is still available if this is not defined).
|
||||||
|
* labels?: `table`
|
||||||
|
* Allows you to define the displayed labels for cancel and/or confirm buttons.
|
||||||
|
* cancel?: `string`
|
||||||
|
* confirm?: `string`
|
||||||
|
|
||||||
Returns `confirm` if the player pressed the confirm button, otherwise if the player pressed the cancel button
|
Returns `confirm` if the player pressed the confirm button, otherwise if the player pressed the cancel button
|
||||||
or has exited the dialog with ESC the return will be `cancel`.
|
or has exited the dialog with ESC the return will be `cancel`.
|
||||||
|
|||||||
Reference in new issue
Block a user