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
public

values: {}

Method Summary

Public Methods
public

changed(): *

public

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

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

Public Members

public displayNameOptions: {} source

public fields: string[] source

public loading: boolean source

public localeOptions: {} source

public slugDriverOptions: {} 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:

*