Theia API Documentation v1.77.0
    Preparing search index...

    Class SingleTextInputDialogProps

    Hierarchy (View Summary)

    Index
    confirmButtonLabel?: string
    initialSelectionRange?: {
        direction?: "forward" | "backward" | "none";
        end: number;
        start: number;
    }
    initialValue?: string
    maxWidth?: number

    Determines the maximum width of the dialog in pixels. Default value is undefined, which would result in the css property 'max-width: none' being applied to the dialog.

    placeholder?: string
    targetWindow?: Window

    The window in which the dialog should be opened. When set, the dialog's root node is created in the target window's document, ensuring the dialog appears in the correct window (e.g. a secondary window). If not set, the dialog opens in the main window.

    title: string
    validate?: (input: string, mode: DialogMode) => MaybePromise<DialogError>
    wordWrap?: "normal" | "break-word" | "initial" | "inherit"

    Determine the word wrapping behavior for content in the dialog.

    • normal: breaks words at allowed break points.
    • break-word: breaks otherwise unbreakable words.
    • initial: sets the property to it's default value.
    • inherit: inherit this property from it's parent element. Default value is undefined, which would result in the css property 'word-wrap' not being applied to the dialog.