lume
Version:
17 lines (12 loc) • 529 B
text/typescript
import type {Constructor} from 'lowclass/dist/Constructor.js'
export interface PossiblyCustomElement {
connectedCallback?(): void
disconnectedCallback?(): void
adoptedCallback?(): void
attributeChangedCallback?(name: string, oldVal: string | null, newVal: string | null): void
}
export interface PossibleCustomElement extends PossiblyCustomElement, HTMLElement {}
declare const f: PossiblyCustomElement
export interface PossibleCustomElementConstructor extends Constructor<HTMLElement> {
observedAttributes?: string[]
}