Taiga UI 5.0 is out!

Dialog CORE

Examples API GitHub

[appearance]
Appearance of dialog
string 'taiga'
[closable]
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, arbitrary type <I>
string
[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
TuiSizeS  |  TuiSizeL 'm'