Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SingleTextInputDialogProps

Hierarchy

Index

Constructors

Properties

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

Type declaration

  • Optional direction?: "none" | "forward" | "backward"
  • 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
title: string
validate?: ((input: string, mode: DialogMode) => MaybePromise<DialogError>)

Type declaration

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.