Taiga UI 5 is out!

Dialog CORE

Examples API GitHub

[appearance]
appearance of the dialog
string
[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]
TuiSizeS  |  TuiSizeL