hosanna-ui-docs - v0.9.0
    Preparing search index...

    Utility class for managing standard keyboard dialogs.

    Index

    Constructors

    Properties

    The callback to invoke when the dialog is closed or a button is selected.

    dialog: null | ISGNStandardKeyboardDialog = null

    The current keyboard dialog instance, or null if none is open.

    scene: any = ...

    Reference to the global scene object.

    Methods

    • Shows a standard keyboard dialog with the specified options.

      Parameters

      • title: string

        The title of the dialog.

      • message: string[]

        The message or instructions to display.

      • text: string

        The initial text in the input box.

      • Optionalcallback: KeyboardDialogCallback

        Callback to invoke when the dialog is closed or a button is selected.

      • isSecure: boolean = false

        If true, enables secure (password) input mode.

      • buttons: undefined | string[] = undefined

        Optional array of button labels.

      • OptionalbuttonRoles: ButtonRoleMap

        Optional mapping of button labels to their roles.

      Returns null | ISGNStandardKeyboardDialog

      The created keyboard dialog instance.