Private OptionalcallbackThe callback to invoke when the dialog is closed or a button is selected.
The current keyboard dialog instance, or null if none is open.
PrivatesceneReference to the global scene object.
Retires this utility's keyboard dialog without notifying its owner. Lifecycle owners use this when the associated input is unmounted, since invoking its result callback after disposal can mutate a retired screen.
PrivateonHandles the dialog close event.
The event object.
PrivateonHandles 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.
Optionalcallback: 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.
OptionalbuttonRoles: ButtonRoleMapOptional mapping of button labels to their roles.
The created keyboard dialog instance.
Utility class for managing standard keyboard dialogs.