projects/m2-core/src/lib/core/service/system/notification.service.ts
Properties |
|
Methods |
|
| Public checkErrors | ||||||||||||||||||||
checkErrors(result: Result, errorsHeader?: string, notificationType)
|
||||||||||||||||||||
|
Parameters :
Returns :
boolean
|
| Public closeNotification | ||||||
closeNotification(predicate: (notification: Notification) => void)
|
||||||
|
Parameters :
Returns :
void
|
| Public error | ||||||||||||||||||||
error(msg: string | TemplateRef
|
||||||||||||||||||||
Type parameters :
|
||||||||||||||||||||
|
Parameters :
Returns :
void
|
| Public getEntityDetailsMsg | ||||||||||||
getEntityDetailsMsg(entity, uuid?: string, auxParams?: StringMap<string | number>)
|
||||||||||||
|
Parameters :
Returns :
string
|
| Public getPermanentNotifications |
getPermanentNotifications()
|
|
Permanent notifications
Returns :
Promise<Notification[]>
|
| Public info | ||||||||||||||||||||
info(msg: string | TemplateRef
|
||||||||||||||||||||
Type parameters :
|
||||||||||||||||||||
|
Parameters :
Returns :
void
|
| Public notify | ||||||||||||||||||||
notify(type: NotificationType, msg: string | TemplateRef
|
||||||||||||||||||||
|
Parameters :
Returns :
void
|
| Public success | ||||||||||||||||||||
success(msg: string | TemplateRef
|
||||||||||||||||||||
Type parameters :
|
||||||||||||||||||||
|
Parameters :
Returns :
void
|
| Public warn | ||||||||||||||||||||
warn(msg: string | TemplateRef
|
||||||||||||||||||||
Type parameters :
|
||||||||||||||||||||
|
Parameters :
Returns :
void
|
| Public notifications$ |
Type : Observable<NotificationsConfig>
|
Default value : this.notificationsSubject.asObservable()
|