Reference Source
import NotificationListState from 'flarum/states/NotificationListState'
public class | source

NotificationListState

Extends:

src/common/states/PaginatedListState.js~PaginatedListState → NotificationListState

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

location: {"page": number}

public

pages: *[]

public get

Method Summary

Public Methods
public

Load the next page of notification results.

public

Mark all of the notifications as read.

Public Constructors

public constructor() source

Public Members

public location: {"page": number} source

public pages: *[] source

public get type: string source

Public Methods

public load(): Promise source

Load the next page of notification results.

Return:

Promise

public markAllAsRead(): * source

Mark all of the notifications as read.

Return:

*