ActionBarContext
Providers & data available to the onClick & buttonState functions of an ActionBarItem,
ActionBarDropdownMenuItem or NavMenuItem.
route
property
ActivatedRouteThe router's ActivatedRoute object for the current route. This object contains information about the route, its parameters, and additional data associated with the route.
injector
property
InjectorThe Angular Injector which can be used to get instances of services and other providers available in the application.
dataService
property
DataServiceThe DataService, which provides methods for querying the server-side data.
notificationService
property
NotificationServiceThe NotificationService, which provides methods for displaying notifications to the user.
entity$
property
Observable<Record<string, any> | undefined>v2.2.0An observable of the current entity in a detail view. In a list view the observable will not emit any values.
Example
Was this chapter helpful?