Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileDialogProps

Hierarchy

Index

Constructors

Properties

Constructors

constructor

Properties

Optional filters

A set of file filters that are used by the dialog. Each entry is a human readable label, like "TypeScript", and an array of extensions, e.g.

{
 'Images': ['png', 'jpg']
 'TypeScript': ['ts', 'tsx']
}

Optional maxWidth

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.

Readonly title

title: string

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.