@puzzleitc/puzzle-shell
Version:
The standard design for Puzzle tools
31 lines (30 loc) • 904 B
TypeScript
import { LitElement } from "lit";
import "./Icon";
/**
* Top application bar that contains the logo and optional
* application-wide actions that are rendered via the menu
* component. The topbar is coupled with the menu component via
* events.
*
* @slot Slot for the logo SVG graphic
* @fires pzsh-menu-toggle
*/
export declare class Topbar extends LitElement {
menuAvailable: boolean;
menuOpen: boolean;
href: string;
static styles: import("lit").CSSResult[];
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
handleMenuChange(e: Event): void;
toggleMenu(): void;
renderMenuButton(): import("lit-html").TemplateResult<1> | null;
renderLogo(): import("lit-html").TemplateResult<1>;
render(): import("lit-html").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
"pzsh-topbar": Topbar;
}
}