packages/components/layout/eui-notifications/eui-notifications.component.ts
OnInit
OnChanges
| changeDetection | ChangeDetectionStrategy.Default |
| encapsulation | ViewEncapsulation.None |
| selector | eui-notifications |
| imports |
TranslateModule
EuiNotificationItemComponent
EUI_ICON
EUI_ICON_BUTTON
EUI_BADGE
EUI_OVERLAY
EUI_BUTTON
|
| styleUrls | ./styles/_index.scss |
| templateUrl | ./eui-notifications.component.html |
| count |
Type : number
|
Default value : null
|
| customUnreadCount |
Type : boolean
|
Default value : false
|
| dateFormat |
Type : string
|
Default value : 'dd/MM/YYYY'
|
| headerTitleLabel |
Type : string
|
Default value : null
|
| isHidePanelOnViewAllAction |
Type : boolean
|
Default value : true
|
| isShowMarkAllAsReadButton |
Type : boolean
|
Default value : true
|
| isShowMarkAsRead |
Type : boolean
|
Default value : true
|
| isShowRefreshButton |
Type : boolean
|
Default value : true
|
| isShowSettingsButton |
Type : boolean
|
Default value : true
|
| isShowViewAllAction |
Type : boolean
|
Default value : true
|
| items |
Type : {}
|
Default value : []
|
| markAllAsReadLabel |
Type : string
|
Default value : null
|
| markAsReadLabel |
Type : string
|
Default value : null
|
| markAsUnReadLabel |
Type : string
|
Default value : null
|
| nbUnreadCount |
Type : number
|
Default value : null
|
| noNotificationFoundLabel |
Type : string
|
Default value : null
|
| noNotificationFoundLink |
Type : boolean
|
Default value : false
|
| refreshLabel |
Type : string
|
Default value : null
|
| settingsLabel |
Type : string
|
Default value : null
|
| totalLabel |
Type : string
|
Default value : null
|
| unreadLabel |
Type : string
|
Default value : null
|
| viewAllNotificationsLabel |
Type : string
|
Default value : null
|
| itemClick |
Type : EventEmitter<UxLinkLegacy<NotificationMetadata>>
|
| itemMarkAsReadClick |
Type : EventEmitter<UxLinkLegacy<NotificationMetadata>>
|
| markAllAsReadClick |
Type : EventEmitter<MouseEvent>
|
| noNotificationFoundClick |
Type : EventEmitter<void>
|
| notificationsClick |
Type : EventEmitter<void>
|
| refreshClick |
Type : EventEmitter<void>
|
| settingsClick |
Type : EventEmitter<MouseEvent>
|
| viewAllClick |
Type : EventEmitter<void>
|
| class |
Type : string
|
Default value : 'eui-notifications'
|
| onClicked | ||||||
onClicked(event: MouseEvent | Event)
|
||||||
|
Parameters :
Returns :
void
|
| onItemClick | ||||||
onItemClick(link: UxLinkLegacy<NotificationMetadata>)
|
||||||
|
Parameters :
Returns :
void
|
| onItemMarkAsRead | ||||||
onItemMarkAsRead(link: UxLinkLegacy<NotificationMetadata>)
|
||||||
|
Parameters :
Returns :
void
|
| onMarkAllAsRead | ||||||
onMarkAllAsRead(e: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onNoNotificationFoundClick |
onNoNotificationFoundClick()
|
|
Returns :
void
|
| onRefresh | ||||||
onRefresh(event: Event)
|
||||||
|
Parameters :
Returns :
void
|
| onSettings | ||||||
onSettings(e: MouseEvent)
|
||||||
|
Parameters :
Returns :
void
|
| onViewAllClick | ||||||
onViewAllClick(event: Event)
|
||||||
|
Parameters :
Returns :
void
|
| currentDayNotifications |
Type : []
|
Default value : []
|
| isOverlayActive |
Type : unknown
|
Default value : false
|
| oldestNotifications |
Type : []
|
Default value : []
|
| string |
Type : string
|
Default value : 'eui-notifications'
|
Decorators :
@HostBinding('class')
|
| today |
Type : Date
|
Default value : new Date()
|
| unreadNotifications |
Type : []
|
Default value : []
|