DynamicDialog uses the Dialog component internally, visit
Visit accessibility section of
The close function of the dialogRef is used to hide a Dialog. The dialogRef is injected to the component that is loaded by the dialog.
+The close function is available through a dialogRef that is injected to the component loaded by the dialog.
The emits object defines callbacks to handle events emitted by the component within the Dialog.
+ +- Dialogs can be created dynamically with any component as the content using a DialogService along with a DynamicDialog component. Ideal location of a DynamicDialog is the main template so that it can be used by any component within - the application. -
+A sample implementation to demonstrate loading components asynchronously, nested content and passing data.