@puzzleitc/puzzle-shell
Version:
The standard design for Puzzle tools
21 lines (20 loc) • 555 B
TypeScript
import { LitElement } from "lit";
/**
* Application navigation item to be used in pzsh-nav and pzsh-subnav
* components.
*
* @slot - Navigation item label
* @attr {Boolean} active - Whether the item is currently active
*/
export declare class NavItem extends LitElement {
href: string;
active: boolean;
static styles: import("lit").CSSResult[];
focus(options?: FocusOptions): void;
render(): import("lit-html").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
"pzsh-nav-item": NavItem;
}
}