Reference Source
import NotificationsPage from 'flarum/forum/components/NotificationsPage'
public class | source

NotificationsPage

Extends:

src/common/Component.js~ComponentPage → NotificationsPage

The NotificationsPage component shows the notifications list. It is only used on mobile devices where the notifications dropdown is within the drawer.

Member Summary

Public Members
public

Method Summary

Public Methods
public

oninit(vnode: *)

public

view(): *

Inherited Summary

From class Page
public

A class name to apply to the body while the route is active.

public

Whether we should scroll to the top of the page when its rendered.

public

Whether the browser should restore scroll state on refreshes.

public

oncreate(vnode: *)

public

oninit(vnode: *)

public

onremove(vnode: *)

Public Members

public bodyClass: string source

A class name to apply to the body while the route is active.

Override:

Page#bodyClass

Public Methods

public oninit(vnode: *) source

Override:

Page#oninit

Params:

NameTypeAttributeDescription
vnode *

public view(): * source

Return:

*