DialogRef
Holds references to the object instance and published events of the Dialog.
Controls the Dialogs that were opened through the DialogService
(see example).
Name | Type | Default | Description |
---|---|---|---|
close |
|
Allows you to close the Dialog through code.
When called with no arguments,
the | |
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
()