The default constructor
Flag if the drawer can be expanded. Optional, default: false
Event emitter when close icon clicked
Flag if the drawer is expanded (only valid if allowExpand is true). Optional, default: false
Template for the heading area for each notification group, access the group via notificationGroup
Flag if the drawer is currently hidden
Text to show when there are no notifications. Optional.
Template for the notification body for each notification, access the notification via notification
Template for the notification footer for each notification, access the notification via notification
Collection notification groups to add to the drawer. Alternatively, a single group object can be given if categorization is not used.
Optional field from the notifications to use to track by in the notifications listing ($index used otherwise).
Flag if the clear all button should be shown, optional, default is false
Flag if the mark all read button should be shown, optional, default is false
Boolean flag if size of group less 2
Template for the sub-heading area for each notification group, access the group via notificationGroup
Title to display for the drawer (leaving this blank will remove the provided expand capability)
Template for the title area for the notification drawer, use this to customize the drawer title area
Event emitter when mark all button clicked
Return boolean if group has notifications @param group
Return boolean if group has unread notifications @param group
Setup component configuration upon initialization
Method for the clear all button (Optional) @param group
method for the close button, emits event with clicked over close icon
Method for the mark all read button (Optional)
Toggle to show / hide drawer @param group
Toggle to expand the drawer
Generated using TypeDoc
Notification drawer component
This provides a common mechanism to handle how the notification drawer should look and behave without mandating the look of the notification group heading or notification body.