2021-05-12 23:29:46 +00:00
|
|
|
/**
|
|
|
|
* The `Page` component
|
|
|
|
*
|
|
|
|
* @abstract
|
|
|
|
*/
|
2021-08-19 09:17:15 +00:00
|
|
|
export default class Page extends Component<import("../Component").ComponentAttrs, undefined> {
|
2021-05-12 23:29:46 +00:00
|
|
|
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";
|