mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 21:37:31 +08:00
b8754c7d7d
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
28 lines
684 B
TypeScript
28 lines
684 B
TypeScript
/**
|
|
* The `Page` component
|
|
*
|
|
* @abstract
|
|
*/
|
|
export default class Page extends Component<import("../Component").ComponentAttrs, undefined> {
|
|
constructor();
|
|
/**
|
|
* A class name to apply to the body while the route is active.
|
|
*
|
|
* @type {String}
|
|
*/
|
|
bodyClass: string | undefined;
|
|
/**
|
|
* Whether we should scroll to the top of the page when its rendered.
|
|
*
|
|
* @type {Boolean}
|
|
*/
|
|
scrollTopOnCreate: boolean | undefined;
|
|
/**
|
|
* Whether the browser should restore scroll state on refreshes.
|
|
*
|
|
* @type {Boolean}
|
|
*/
|
|
useBrowserScrollRestoration: boolean | undefined;
|
|
}
|
|
import Component from "../Component";
|