API: Primitives
DialogRef
Class reference for DialogRef.
Overview
- Kind: Class
- Source: packages/primitives/src/dialog/dialog-ref.ts:11
Declaration
class DialogRef
Properties
| Name | Type | Description |
|---|---|---|
readonly closed$ |
Observable<void> |
Emits once, after the panel has been removed (after the exit transition, if any). |
readonly state |
Signal<DialogState> |
Current lifecycle state. |
Public methods
close
close(): void
Closes the dialog. Safe to call multiple times.