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

Page

Extends:

src/common/Component.js~Component → Page

The Page component

Member Summary

Public Members
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.

Method Summary

Public Methods
public

oncreate(vnode: *)

public

oninit(vnode: *)

public

Public Members

public bodyClass: String source

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

public scrollTopOnCreate: Boolean source

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

Public Methods

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public oninit(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public onremove() source