File

src/ui/dialog/smart-dialog.service.ts

Description

A service used for easy displaying of dialogs at the application level.

Example

Index

Methods

Methods

Public closeDialog
closeDialog()

Closes the current SmartDialogComponent, if any.

Returns : void
Public deregisterOutlet
deregisterOutlet(outlet?: SmartDialogOutletComponent)

Deregisters the SmartDialogOutletComponent.

Parameters :
Name Type Optional
outlet SmartDialogOutletComponent Yes
Returns : void
Public registerOutlet
registerOutlet(outlet: SmartDialogOutletComponent)

Registers the global SmartDialogOutletComponent. Only one can be registered per application.

Parameters :
Name Type Optional
outlet SmartDialogOutletComponent No
Returns : void
Public showDialog
showDialog(config: SmartDialogConfig)

Displays a SmartDialogComponent according to the provided configuration.

Parameters :
Name Type Optional
config SmartDialogConfig No

result-matching ""

    No results matching ""