Reference Source
import DashboardPage from 'flarum/admin/components/DashboardPage'
public class | source

DashboardPage

Extends:

src/common/Component.js~ComponentPageAdminPage → DashboardPage

Method Summary

Public Methods
public
public

content(): *

public

headerInfo(): {"className": string, "icon": string, "title": *, "description": *}

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: *)

From class AdminPage
public
public

settings: {}

public

buildSettingComponent(setting: *): JSX.Element

buildSettingComponent takes a settings object and turns it into a component.

public
public

dirty(): *

public

header(): *

public

headerInfo(): {"className": *, "icon": *, "title": *, "description": *}

public

isChanged(): *

public

oninit(vnode: *)

public
public

saveSettings(e: *): *

public

setting(key: *, fallback: string): *

public
public

view(): *

Public Methods

public availableWidgets(): * source

Return:

*

public content(): * source

Override:

AdminPage#content

Return:

*

public headerInfo(): {"className": string, "icon": string, "title": *, "description": *} source

Override:

AdminPage#headerInfo

Return:

{"className": string, "icon": string, "title": *, "description": *}