Private
Optional
callbackThe callback to invoke when the dialog is closed or a button is selected.
The current keyboard dialog instance, or null if none is open.
Private
sceneReference to the global scene object.
Private
onHandles the dialog close event.
The event object.
Private
onHandles the button selected event in the keyboard dialog.
The event object containing the selected button index.
Shows a standard keyboard dialog with the specified options.
The title of the dialog.
The message or instructions to display.
The initial text in the input box.
Optional
callback: KeyboardDialogCallbackCallback to invoke when the dialog is closed or a button is selected.
If true, enables secure (password) input mode.
Optional array of button labels.
Optional
buttonRoles: ButtonRoleMapOptional mapping of button labels to their roles.
The created keyboard dialog instance.
Utility class for managing standard keyboard dialogs.