Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SingleTextInputDialogProps

Hierarchy

Index

Properties

Optional Readonly confirmButtonLabel

confirmButtonLabel: undefined | string

Optional Readonly initialSelectionRange

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

Optional Readonly initialValue

initialValue: undefined | string

Optional maxWidth

maxWidth: undefined | 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.

Readonly title

title: string

Optional Readonly validate

validate: undefined | ((input: string, mode: DialogMode) => MaybePromise<DialogError>)

Optional wordWrap

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.