Reference Source
import NotificationList from 'flarum/components/NotificationList.js'
public class | source

NotificationList

Extends:

flarum/Component~Component → NotificationList

The NotificationList component displays a list of the logged-in user's notifications, grouped by discussion.

Member Summary

Public Members
public

Whether or not the notifications are loading.

Method Summary

Public Methods
public

init()

public

load()

Load notifications into the application's cache if they haven't already been loaded.

public

Mark all of the notifications as read.

public

view(): *

Public Members

public loading: Boolean source

Whether or not the notifications are loading.

Public Methods

public init() source

public load() source

Load notifications into the application's cache if they haven't already been loaded.

public markAllAsRead() source

Mark all of the notifications as read.

public view(): * source

Return:

*