English
latest (v4.7.0)

Dialog CORE

Description and examples API Setup Source code
-
Name and descriptionType Value
closeable
Show a cross to close dialog.

Pass Observable<boolean> if you want prevent closing, for example, with a confirmation prompt. Be careful, passing Observable<boolean> will always display cross button even if it emits false value!

boolean
dismissible
Dialog can be canceled with Escape key or with a click outside. Pass Observable<boolean> if you want prevent closing, for example, with a confirmation prompt.
boolean
data
Input data for dialog, type: <T>
number
header
Content above a heading
PolymorpheusContent
label
Heading of dialog
string
required
Cross click, overlay click or Escape click emits an error into Observable (you can catch it with "catch" operator or onError handler)
boolean
size
Size
TuiDialogSize
'm'
appearance
Appearance of dialog
string