happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
17 lines (15 loc) • 417 B
text/typescript
import HTMLElement from '../nodes/html-element/HTMLElement.js';
export default interface ICustomElementDefinition {
elementClass: typeof HTMLElement;
extends: string;
observedAttributes: Set<string>;
livecycleCallbacks: {
connectedCallback: () => void;
disconnectedCallback: () => void;
attributeChangedCallback: (
name: string,
oldValue: string | null,
newValue: string | null
) => void;
};
}