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

BasicsPage

Extends:

src/common/Component.js~ComponentPage → BasicsPage

Member Summary

Public Members
public
public
public
public
public
public

values: {}

Method Summary

Public Methods
public

changed(): *

public

homePageItems(): ItemList

Build a list of options for the default homepage.

public

oninit(vnode: *)

public

onsubmit(e: *)

public

view(): *

Inherited Summary

From class Page
public

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

public

A collections of actions to run when the route changes.

public

oncreate(vnode: *)

public

oninit(vnode: *)

public

Public Members

public displayNameOptions: {} source

public fields: string[] source

public loading: boolean source

public localeOptions: {} source

public successAlert: * source

public values: {} source

Public Methods

public changed(): * source

Return:

*

public homePageItems(): ItemList source

Build a list of options for the default homepage. Each option must be an object with path and label properties.

Return:

ItemList

public oninit(vnode: *) source

Override:

Page#oninit

Params:

NameTypeAttributeDescription
vnode *

public onsubmit(e: *) source

Params:

NameTypeAttributeDescription
e *

public view(): * source

Return:

*