DialogRef
Holds references to the Dialog instance and published events when you open a Dialog through the DialogService
.
Use the DialogRef
class to control and interact with Dialogs opened programmatically. (See example.)
Name | Type | Default | Description |
---|---|---|---|
close |
|
Closes the Dialog programmatically. When called without a value, the resulting Observable emits an empty ts
| |
content |
|
A reference to the child component of the Dialog. Available when the Dialog is opened with component content. | |
dialog |
|
A reference to the Dialog instance. | |
result |
|
Emits events when the Dialog is closed either through the Close button of the title bar or through the action buttons. If the Close button of the title bar is clicked, |
Constructors
DialogRef
()