Newer
Older
alert / js / node_modules / flarum / common / components / Page.d.ts
@Réz István Réz István on 18 Nov 2021 640 bytes first commit
/**
 * The `Page` component
 *
 * @abstract
 */
export default class Page extends Component<import("../Component").ComponentAttrs> {
    /**
     * A class name to apply to the body while the route is active.
     *
     * @type {String}
     */
    bodyClass: string;
    /**
     * Whether we should scroll to the top of the page when its rendered.
     *
     * @type {Boolean}
     */
    scrollTopOnCreate: boolean;
    /**
     * Whether the browser should restore scroll state on refreshes.
     *
     * @type {Boolean}
     */
    useBrowserScrollRestoration: boolean;
    onremove(): void;
}
import Component from "../Component";