webcomp-ts
Version:
Base class for web components has basic boilerplate code to simplify custom element implementation
12 lines (11 loc) • 362 B
TypeScript
import { WebComp } from "../web-comp.js";
export declare class TodoTask extends WebComp {
constructor();
task: string;
done: boolean;
edit: boolean;
static readonly observedAttributes: string[];
protected attributeChangedCallback(name: string, oldval: string, newval: string): void;
readonly html: string;
readonly css: string;
}