UNPKG

@3mo/dialog

Version:

A dialog component based on Material Web Components.

38 lines 1.25 kB
import { Component } from '@a11d/lit'; /** * @element mo-page * * @attr heading - The page heading * @attr fullHeight - Whether the page should take up the full height of the viewport * @attr headerHidden - Whether the page header should be hidden * * @slot - The page content * @slot heading - The page heading * @slot action - The page action * * @csspart header - The page header * @csspart heading - The page heading * @csspart action - The page action * * @fires pageHeadingChange - Dispatched when the page heading changes */ export declare class Page extends Component { readonly pageHeadingChange: EventDispatcher<string>; heading: string; fullHeight: boolean; headerHidden: boolean; static get styles(): import("@a11d/lit").CSSResult; private readonly slotController; private get hasHeading(); private get hasActions(); private get hasHeader(); protected get template(): import("lit-html").HTMLTemplateResult; protected get headerTemplate(): import("lit-html").HTMLTemplateResult; protected get contentTemplate(): import("lit-html").HTMLTemplateResult; } declare global { interface HTMLElementTagNameMap { 'mo-page': Page; } } //# sourceMappingURL=Page.d.ts.map