Reference Source
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.

public

Whether the browser should restore scroll state on refreshes.

Method Summary

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

public scrollTopOnCreate: Boolean source

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

public useBrowserScrollRestoration: Boolean source

Whether the browser should restore scroll state on refreshes.

Public Methods

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public oninit(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public onremove(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *