Skip to main content

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

propertyInjector

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

dataService

propertyDataService

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

notificationService

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

modalService

propertyModalService

The ModalService, which provides methods for opening modal dialogs.

Was this chapter helpful?
Report Issue
Edited Feb 2, 2026·Edit this page