Files
lit-examples/vite-lit-capacitor/web/js/my-element.d.ts
2026-05-16 22:31:56 -07:00

28 lines
603 B
TypeScript

import { LitElement } from "lit";
/**
* An example element.
*
* @slot - This element has a slot
* @csspart button - The button
*/
export declare class MyElement extends LitElement {
static styles: import("lit").CSSResult;
/**
* The name to say "Hello" to.
*/
name: string;
/**
* The number of times the button has been clicked.
*/
count: number;
render(): import("lit").TemplateResult<1>;
private _onClick;
foo(): string;
firstUpdated(): void;
}
declare global {
interface HTMLElementTagNameMap {
"my-element": MyElement;
}
}