src/ui/dialog/smart-dialog-outlet.component.ts
An outlet where SmartDialogcomponents can be rendered by the SmartDialogService.
| changeDetection | ChangeDetectionStrategy.Eager |
| host | { |
| selector | smart-dialog-outlet |
| template | |
Properties |
Methods |
constructor(dialogService: SmartDialogService)
|
||||||
|
Parameters :
|
| closeDialog |
closeDialog()
|
|
Closes the current dialog, if any.
Returns :
void
|
| onAltCKey |
onAltCKey()
|
|
Closes the current dialog when the alt+c key is pressed.
Returns :
void
|
| onAltNKey |
onAltNKey()
|
|
Closes the current dialog when the alt+n key is pressed.
Returns :
void
|
| onAltOKey |
onAltOKey()
|
|
Closes the current dialog when the alt+o key is pressed.
Returns :
void
|
| onAltYKey |
onAltYKey()
|
|
Closes the current dialog when the alt+y key is pressed.
Returns :
void
|
| onEnterKey |
onEnterKey()
|
|
Closes the current dialog when the enter key is pressed.
Returns :
void
|
| onEscapeKey |
onEscapeKey()
|
|
Closes the current dialog when the escape key is pressed.
Returns :
void
|
| openDialog | ||||||
openDialog(config: SmartDialogConfig)
|
||||||
|
Renders a new SmartDialogComponent and displays it as a modal dialog. param config
Parameters :
Returns :
Promise<DialogEvent>
|
| dialogComponentInstance |
Type : SmartDialogComponent
|
Decorators :
@ViewChild('dialogComponent', {static: true})
|