Skip to main content

AlertContext

AlertContext

The context object which is passed to the check, isAlert, label and action functions of an AlertConfig object.

Signature
interface AlertContext {
injector: Injector;
dataService: DataService;
notificationService: NotificationService;
modalService: ModalService;
}

injector

property

The Angular Injector which can be used to get instances of services and other providers available in the application.

dataService

property

The DataService, which provides methods for querying the server-side data.

notificationService

The NotificationService, which provides methods for displaying notifications to the user.

modalService

property

The ModalService, which provides methods for opening modal dialogs.