Consolidate Lit repositories: figma-to-lit, figma_lit_example, lit-3d-piano, lit-calculator, lit-code-editor, lit-draggable-dom, lit-file-based-routing, lit-force-graph, lit-html-editor, lit-html-table, lit-modules, lit-native, lit-node-editor, lit-sheet-music, lit-starter-ts, lit-vscode-extension, lit-wmr, vite-lit-capacitor, vite-lit-element-starter, vite-rxdb-lit
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
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-html").TemplateResult<1>;
|
||||
private _onClick;
|
||||
foo(): string;
|
||||
firstUpdated(): void;
|
||||
}
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
"my-element": MyElement;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user