Notification
Extends:
src/common/Component.js~Component → Notification
Direct Subclass:
The Notification component abstract displays a single notification.
Subclasses should implement the icon, href, and content methods.
Attrs
notification
Method Summary
| Public Methods | ||
| public abstract |
content(): VirtualElement Get the content of the notification. |
|
| public abstract |
excerpt(): VirtualElement Get the excerpt of the notification. |
|
| public abstract |
Get the URL that the notification should link to. |
|
| public abstract |
Get the name of the icon that should be displayed in the notification. |
|
| public |
Mark the notification as read. |
|
| public |
view(): * |
|
Public Methods
public abstract content(): VirtualElement source
Get the content of the notification.
Return:
| VirtualElement |
public abstract excerpt(): VirtualElement source
Get the excerpt of the notification.
Return:
| VirtualElement |
Reference
Source
