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.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Whether or not the notifications are loading.

Method Summary

Public Methods
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 Constructors

public constructor() source

Public Members

public loading: Boolean source

Whether or not the notifications are loading.

Public Methods

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:

*