File

core/alert/alert-outlet-base.ts

Index

Properties
Methods

Constructor

constructor(alertService: AlertService)
Parameters :
Name Type Optional
alertService AlertService No

Properties

Public alertService
Type : AlertService
detailDisplayedAlert
Type : any
Default value : {}

Currently displayed details of an alert. Only one alert’s details can be displayed at a time.

Methods

closeDetails
closeDetails()

Collapses alert's details.

Returns : void
hasDetails
hasDetails(alert: Alert)

Returns true if alert has extra detailedData or defines custom onDetail method.

Parameters :
Name Type Optional
alert Alert No
Returns : any
isDetailsShow
isDetailsShow(alert: Alert)

Returns true if details part of alert is expanded.

Parameters :
Name Type Optional
alert Alert No
Returns : any
showDetails
showDetails(alert: Alert)

Expands details part of particular alert, and collapses details for another alerts.

Parameters :
Name Type Optional Description
alert Alert No

The alert which details should be expanded.

Returns : any

results matching ""

    No results matching ""