File

src/ui/dialog/smart-dialog-outlet.component.ts

Description

An outlet where SmartDialogcomponents can be rendered by the SmartDialogService.

Metadata

Index

Properties
Methods

Constructor

constructor(dialogService: SmartDialogService)
Parameters :
Name Type Optional
dialogService SmartDialogService No

Methods

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 :
Name Type Optional
config SmartDialogConfig No

Properties

dialogComponentInstance
Type : SmartDialogComponent
Decorators :
@ViewChild('dialogComponent', {static: true})
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""