1 | import { html, svg, TemplateResult } from '../lit-html/lit-html.js';
|
2 | import { HTMLCollectionByID, Data, PropConfig, Properties, camelCaseToKebab, MethodsToCall } from './lit-lite.js';
|
3 | export declare const LitElement: (superclass?: {
|
4 | new (): HTMLElement;
|
5 | prototype: HTMLElement;
|
6 | }) => {
|
7 | new (): {
|
8 | [key: string]: any;
|
9 | __renderCallbacks: Set<any>;
|
10 | __pendingRender: boolean;
|
11 | __data: Data;
|
12 | __methodsToCall: MethodsToCall;
|
13 | __wait: any;
|
14 | __firstRender: boolean;
|
15 | afterRender?: (isFirst: boolean) => void;
|
16 | shadowRoot: ShadowRoot;
|
17 | __propAttr: Map<string, string>;
|
18 | __attrProp: Map<string, string>;
|
19 | connectedCallback(): void;
|
20 | disconnectedCallback(): void;
|
21 | __makeGetterSetter(prop: string, info: PropConfig): void;
|
22 | __propertiesChanged(prop: string, newVal: any): void;
|
23 | setProperty(prop: string, newVal: any): void;
|
24 | attributeChangedCallback(attr: string, old: any, val: any): void;
|
25 | postponedRender(): void;
|
26 | refresh(callback?: () => any): Promise<void>;
|
27 | render(data?: object): TemplateResult;
|
28 | readonly $: HTMLCollectionByID;
|
29 | accessKey: string;
|
30 | contentEditable: string;
|
31 | readonly dataset: DOMStringMap;
|
32 | dir: string;
|
33 | draggable: boolean;
|
34 | hidden: boolean;
|
35 | hideFocus: boolean;
|
36 | innerText: string;
|
37 | readonly isContentEditable: boolean;
|
38 | lang: string;
|
39 | readonly offsetHeight: number;
|
40 | readonly offsetLeft: number;
|
41 | readonly offsetParent: Element;
|
42 | readonly offsetTop: number;
|
43 | readonly offsetWidth: number;
|
44 | onabort: (this: HTMLElement, ev: UIEvent) => any;
|
45 | onactivate: (this: HTMLElement, ev: Event) => any;
|
46 | onbeforeactivate: (this: HTMLElement, ev: Event) => any;
|
47 | onbeforecopy: (this: HTMLElement, ev: Event) => any;
|
48 | onbeforecut: (this: HTMLElement, ev: Event) => any;
|
49 | onbeforedeactivate: (this: HTMLElement, ev: Event) => any;
|
50 | onbeforepaste: (this: HTMLElement, ev: Event) => any;
|
51 | onblur: (this: HTMLElement, ev: FocusEvent) => any;
|
52 | oncanplay: (this: HTMLElement, ev: Event) => any;
|
53 | oncanplaythrough: (this: HTMLElement, ev: Event) => any;
|
54 | onchange: (this: HTMLElement, ev: Event) => any;
|
55 | onclick: (this: HTMLElement, ev: MouseEvent) => any;
|
56 | oncontextmenu: (this: HTMLElement, ev: PointerEvent) => any;
|
57 | oncopy: (this: HTMLElement, ev: ClipboardEvent) => any;
|
58 | oncuechange: (this: HTMLElement, ev: Event) => any;
|
59 | oncut: (this: HTMLElement, ev: ClipboardEvent) => any;
|
60 | ondblclick: (this: HTMLElement, ev: MouseEvent) => any;
|
61 | ondeactivate: (this: HTMLElement, ev: Event) => any;
|
62 | ondrag: (this: HTMLElement, ev: DragEvent) => any;
|
63 | ondragend: (this: HTMLElement, ev: DragEvent) => any;
|
64 | ondragenter: (this: HTMLElement, ev: DragEvent) => any;
|
65 | ondragleave: (this: HTMLElement, ev: DragEvent) => any;
|
66 | ondragover: (this: HTMLElement, ev: DragEvent) => any;
|
67 | ondragstart: (this: HTMLElement, ev: DragEvent) => any;
|
68 | ondrop: (this: HTMLElement, ev: DragEvent) => any;
|
69 | ondurationchange: (this: HTMLElement, ev: Event) => any;
|
70 | onemptied: (this: HTMLElement, ev: Event) => any;
|
71 | onended: (this: HTMLElement, ev: Event) => any;
|
72 | onerror: (this: HTMLElement, ev: ErrorEvent) => any;
|
73 | onfocus: (this: HTMLElement, ev: FocusEvent) => any;
|
74 | oninput: (this: HTMLElement, ev: Event) => any;
|
75 | oninvalid: (this: HTMLElement, ev: Event) => any;
|
76 | onkeydown: (this: HTMLElement, ev: KeyboardEvent) => any;
|
77 | onkeypress: (this: HTMLElement, ev: KeyboardEvent) => any;
|
78 | onkeyup: (this: HTMLElement, ev: KeyboardEvent) => any;
|
79 | onload: (this: HTMLElement, ev: Event) => any;
|
80 | onloadeddata: (this: HTMLElement, ev: Event) => any;
|
81 | onloadedmetadata: (this: HTMLElement, ev: Event) => any;
|
82 | onloadstart: (this: HTMLElement, ev: Event) => any;
|
83 | onmousedown: (this: HTMLElement, ev: MouseEvent) => any;
|
84 | onmouseenter: (this: HTMLElement, ev: MouseEvent) => any;
|
85 | onmouseleave: (this: HTMLElement, ev: MouseEvent) => any;
|
86 | onmousemove: (this: HTMLElement, ev: MouseEvent) => any;
|
87 | onmouseout: (this: HTMLElement, ev: MouseEvent) => any;
|
88 | onmouseover: (this: HTMLElement, ev: MouseEvent) => any;
|
89 | onmouseup: (this: HTMLElement, ev: MouseEvent) => any;
|
90 | onmousewheel: (this: HTMLElement, ev: WheelEvent) => any;
|
91 | onmscontentzoom: (this: HTMLElement, ev: Event) => any;
|
92 | onmsmanipulationstatechanged: (this: HTMLElement, ev: Event) => any;
|
93 | onpaste: (this: HTMLElement, ev: ClipboardEvent) => any;
|
94 | onpause: (this: HTMLElement, ev: Event) => any;
|
95 | onplay: (this: HTMLElement, ev: Event) => any;
|
96 | onplaying: (this: HTMLElement, ev: Event) => any;
|
97 | onprogress: (this: HTMLElement, ev: ProgressEvent) => any;
|
98 | onratechange: (this: HTMLElement, ev: Event) => any;
|
99 | onreset: (this: HTMLElement, ev: Event) => any;
|
100 | onscroll: (this: HTMLElement, ev: UIEvent) => any;
|
101 | onseeked: (this: HTMLElement, ev: Event) => any;
|
102 | onseeking: (this: HTMLElement, ev: Event) => any;
|
103 | onselect: (this: HTMLElement, ev: UIEvent) => any;
|
104 | onselectstart: (this: HTMLElement, ev: Event) => any;
|
105 | onstalled: (this: HTMLElement, ev: Event) => any;
|
106 | onsubmit: (this: HTMLElement, ev: Event) => any;
|
107 | onsuspend: (this: HTMLElement, ev: Event) => any;
|
108 | ontimeupdate: (this: HTMLElement, ev: Event) => any;
|
109 | onvolumechange: (this: HTMLElement, ev: Event) => any;
|
110 | onwaiting: (this: HTMLElement, ev: Event) => any;
|
111 | outerText: string;
|
112 | spellcheck: boolean;
|
113 | tabIndex: number;
|
114 | title: string;
|
115 | animate(keyframes: AnimationKeyFrame | AnimationKeyFrame[], options: number | AnimationOptions): Animation;
|
116 | blur(): void;
|
117 | click(): void;
|
118 | dragDrop(): boolean;
|
119 | focus(): void;
|
120 | msGetInputContext(): MSInputMethodContext;
|
121 | addEventListener<K extends "waiting" | "error" | "abort" | "progress" | "ended" | "change" | "input" | "select" | "activate" | "beforeactivate" | "beforedeactivate" | "blur" | "canplay" | "canplaythrough" | "click" | "contextmenu" | "dblclick" | "deactivate" | "drag" | "dragend" | "dragenter" | "dragleave" | "dragover" | "dragstart" | "drop" | "durationchange" | "emptied" | "focus" | "invalid" | "keydown" | "keypress" | "keyup" | "load" | "loadeddata" | "loadedmetadata" | "loadstart" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "mousewheel" | "MSContentZoom" | "MSGestureChange" | "MSGestureDoubleTap" | "MSGestureEnd" | "MSGestureHold" | "MSGestureStart" | "MSGestureTap" | "MSInertiaStart" | "MSManipulationStateChanged" | "MSPointerCancel" | "MSPointerDown" | "MSPointerEnter" | "MSPointerLeave" | "MSPointerMove" | "MSPointerOut" | "MSPointerOver" | "MSPointerUp" | "pause" | "play" | "playing" | "ratechange" | "reset" | "scroll" | "seeked" | "seeking" | "selectstart" | "stalled" | "submit" | "suspend" | "timeupdate" | "touchcancel" | "touchend" | "touchmove" | "touchstart" | "volumechange" | "webkitfullscreenchange" | "webkitfullscreenerror" | "pointercancel" | "pointerdown" | "pointerenter" | "pointerleave" | "pointermove" | "pointerout" | "pointerover" | "pointerup" | "wheel" | "ariarequest" | "command" | "gotpointercapture" | "lostpointercapture" | "MSGotPointerCapture" | "MSLostPointerCapture" | "beforecopy" | "beforecut" | "beforepaste" | "copy" | "cuechange" | "cut" | "mouseenter" | "mouseleave" | "paste">(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
122 | addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
123 | removeEventListener<K extends "waiting" | "error" | "abort" | "progress" | "ended" | "change" | "input" | "select" | "activate" | "beforeactivate" | "beforedeactivate" | "blur" | "canplay" | "canplaythrough" | "click" | "contextmenu" | "dblclick" | "deactivate" | "drag" | "dragend" | "dragenter" | "dragleave" | "dragover" | "dragstart" | "drop" | "durationchange" | "emptied" | "focus" | "invalid" | "keydown" | "keypress" | "keyup" | "load" | "loadeddata" | "loadedmetadata" | "loadstart" | "mousedown" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "mousewheel" | "MSContentZoom" | "MSGestureChange" | "MSGestureDoubleTap" | "MSGestureEnd" | "MSGestureHold" | "MSGestureStart" | "MSGestureTap" | "MSInertiaStart" | "MSManipulationStateChanged" | "MSPointerCancel" | "MSPointerDown" | "MSPointerEnter" | "MSPointerLeave" | "MSPointerMove" | "MSPointerOut" | "MSPointerOver" | "MSPointerUp" | "pause" | "play" | "playing" | "ratechange" | "reset" | "scroll" | "seeked" | "seeking" | "selectstart" | "stalled" | "submit" | "suspend" | "timeupdate" | "touchcancel" | "touchend" | "touchmove" | "touchstart" | "volumechange" | "webkitfullscreenchange" | "webkitfullscreenerror" | "pointercancel" | "pointerdown" | "pointerenter" | "pointerleave" | "pointermove" | "pointerout" | "pointerover" | "pointerup" | "wheel" | "ariarequest" | "command" | "gotpointercapture" | "lostpointercapture" | "MSGotPointerCapture" | "MSLostPointerCapture" | "beforecopy" | "beforecut" | "beforepaste" | "copy" | "cuechange" | "cut" | "mouseenter" | "mouseleave" | "paste">(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
124 | removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
125 | readonly assignedSlot: HTMLSlotElement;
|
126 | readonly attributes: NamedNodeMap;
|
127 | readonly classList: DOMTokenList;
|
128 | className: string;
|
129 | readonly clientHeight: number;
|
130 | readonly clientLeft: number;
|
131 | readonly clientTop: number;
|
132 | readonly clientWidth: number;
|
133 | id: string;
|
134 | innerHTML: string;
|
135 | msContentZoomFactor: number;
|
136 | readonly msRegionOverflow: string;
|
137 | onariarequest: (this: Element, ev: Event) => any;
|
138 | oncommand: (this: Element, ev: Event) => any;
|
139 | ongotpointercapture: (this: Element, ev: PointerEvent) => any;
|
140 | onlostpointercapture: (this: Element, ev: PointerEvent) => any;
|
141 | onmsgesturechange: (this: Element, ev: Event) => any;
|
142 | onmsgesturedoubletap: (this: Element, ev: Event) => any;
|
143 | onmsgestureend: (this: Element, ev: Event) => any;
|
144 | onmsgesturehold: (this: Element, ev: Event) => any;
|
145 | onmsgesturestart: (this: Element, ev: Event) => any;
|
146 | onmsgesturetap: (this: Element, ev: Event) => any;
|
147 | onmsgotpointercapture: (this: Element, ev: Event) => any;
|
148 | onmsinertiastart: (this: Element, ev: Event) => any;
|
149 | onmslostpointercapture: (this: Element, ev: Event) => any;
|
150 | onmspointercancel: (this: Element, ev: Event) => any;
|
151 | onmspointerdown: (this: Element, ev: Event) => any;
|
152 | onmspointerenter: (this: Element, ev: Event) => any;
|
153 | onmspointerleave: (this: Element, ev: Event) => any;
|
154 | onmspointermove: (this: Element, ev: Event) => any;
|
155 | onmspointerout: (this: Element, ev: Event) => any;
|
156 | onmspointerover: (this: Element, ev: Event) => any;
|
157 | onmspointerup: (this: Element, ev: Event) => any;
|
158 | ontouchcancel: (this: Element, ev: TouchEvent) => any;
|
159 | ontouchend: (this: Element, ev: TouchEvent) => any;
|
160 | ontouchmove: (this: Element, ev: TouchEvent) => any;
|
161 | ontouchstart: (this: Element, ev: TouchEvent) => any;
|
162 | onwebkitfullscreenchange: (this: Element, ev: Event) => any;
|
163 | onwebkitfullscreenerror: (this: Element, ev: Event) => any;
|
164 | outerHTML: string;
|
165 | readonly prefix: string;
|
166 | readonly scrollHeight: number;
|
167 | scrollLeft: number;
|
168 | scrollTop: number;
|
169 | readonly scrollWidth: number;
|
170 | slot: string;
|
171 | readonly tagName: string;
|
172 | attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot;
|
173 | closest<K extends "object" | "track" | "progress" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "xmp">(selector: K): HTMLElementTagNameMap[K];
|
174 | closest<K extends "symbol" | "circle" | "defs" | "desc" | "ellipse" | "filter" | "g" | "image" | "line" | "marker" | "mask" | "path" | "metadata" | "pattern" | "polygon" | "polyline" | "rect" | "svg" | "stop" | "switch" | "tspan" | "text" | "use" | "view" | "clippath" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "foreignobject" | "lineargradient" | "radialgradient" | "textpath">(selector: K): SVGElementTagNameMap[K];
|
175 | closest(selector: string): Element;
|
176 | getAttribute(qualifiedName: string): string;
|
177 | getAttributeNS(namespaceURI: string, localName: string): string;
|
178 | getAttributeNode(name: string): Attr;
|
179 | getAttributeNodeNS(namespaceURI: string, localName: string): Attr;
|
180 | getBoundingClientRect(): ClientRect | DOMRect;
|
181 | getClientRects(): ClientRectList | DOMRectList;
|
182 | getElementsByClassName(classNames: string): NodeListOf<Element>;
|
183 | getElementsByTagName<K extends "object" | "track" | "progress" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "xmp">(name: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
184 | getElementsByTagName<K extends "symbol" | "circle" | "defs" | "desc" | "ellipse" | "filter" | "g" | "image" | "line" | "marker" | "mask" | "path" | "metadata" | "pattern" | "polygon" | "polyline" | "rect" | "svg" | "stop" | "switch" | "tspan" | "text" | "use" | "view" | "clippath" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "foreignobject" | "lineargradient" | "radialgradient" | "textpath">(name: K): NodeListOf<SVGElementTagNameMap[K]>;
|
185 | getElementsByTagName(name: string): NodeListOf<Element>;
|
186 | getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
187 | getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
188 | getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;
|
189 | hasAttribute(name: string): boolean;
|
190 | hasAttributeNS(namespaceURI: string, localName: string): boolean;
|
191 | hasAttributes(): boolean;
|
192 | insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element;
|
193 | insertAdjacentHTML(where: InsertPosition, html: string): void;
|
194 | insertAdjacentText(where: InsertPosition, text: string): void;
|
195 | matches(selectors: string): boolean;
|
196 | msGetRegionContent(): any;
|
197 | msGetUntransformedBounds(): ClientRect;
|
198 | msMatchesSelector(selectors: string): boolean;
|
199 | msReleasePointerCapture(pointerId: number): void;
|
200 | msSetPointerCapture(pointerId: number): void;
|
201 | msZoomTo(args: MsZoomToOptions): void;
|
202 | releasePointerCapture(pointerId: number): void;
|
203 | removeAttribute(qualifiedName: string): void;
|
204 | removeAttributeNS(namespaceURI: string, localName: string): void;
|
205 | removeAttributeNode(oldAttr: Attr): Attr;
|
206 | requestFullscreen(): void;
|
207 | requestPointerLock(): void;
|
208 | scroll(options?: ScrollToOptions): void;
|
209 | scroll(x: number, y: number): void;
|
210 | scrollBy(options?: ScrollToOptions): void;
|
211 | scrollBy(x: number, y: number): void;
|
212 | scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
213 | scrollTo(options?: ScrollToOptions): void;
|
214 | scrollTo(x: number, y: number): void;
|
215 | setAttribute(qualifiedName: string, value: string): void;
|
216 | setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void;
|
217 | setAttributeNode(newAttr: Attr): Attr;
|
218 | setAttributeNodeNS(newAttr: Attr): Attr;
|
219 | setPointerCapture(pointerId: number): void;
|
220 | webkitMatchesSelector(selectors: string): boolean;
|
221 | webkitRequestFullScreen(): void;
|
222 | webkitRequestFullscreen(): void;
|
223 | readonly baseURI: string;
|
224 | readonly childNodes: NodeListOf<Node & ChildNode>;
|
225 | readonly firstChild: Node;
|
226 | readonly isConnected: boolean;
|
227 | readonly lastChild: Node;
|
228 | readonly localName: string;
|
229 | readonly namespaceURI: string;
|
230 | readonly nextSibling: Node;
|
231 | readonly nodeName: string;
|
232 | readonly nodeType: number;
|
233 | nodeValue: string;
|
234 | readonly ownerDocument: Document;
|
235 | readonly parentElement: HTMLElement;
|
236 | readonly parentNode: Node;
|
237 | readonly previousSibling: Node;
|
238 | textContent: string;
|
239 | appendChild<T extends Node>(newChild: T): T;
|
240 | cloneNode(deep?: boolean): Node;
|
241 | compareDocumentPosition(other: Node): number;
|
242 | contains(child: Node): boolean;
|
243 | hasChildNodes(): boolean;
|
244 | insertBefore<T extends Node>(newChild: T, refChild: Node): T;
|
245 | isDefaultNamespace(namespaceURI: string): boolean;
|
246 | isEqualNode(arg: Node): boolean;
|
247 | isSameNode(other: Node): boolean;
|
248 | lookupNamespaceURI(prefix: string): string;
|
249 | lookupPrefix(namespaceURI: string): string;
|
250 | normalize(): void;
|
251 | removeChild<T extends Node>(oldChild: T): T;
|
252 | replaceChild<T extends Node>(newChild: Node, oldChild: T): T;
|
253 | readonly ATTRIBUTE_NODE: number;
|
254 | readonly CDATA_SECTION_NODE: number;
|
255 | readonly COMMENT_NODE: number;
|
256 | readonly DOCUMENT_FRAGMENT_NODE: number;
|
257 | readonly DOCUMENT_NODE: number;
|
258 | readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
259 | readonly DOCUMENT_POSITION_CONTAINS: number;
|
260 | readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
261 | readonly DOCUMENT_POSITION_FOLLOWING: number;
|
262 | readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
263 | readonly DOCUMENT_POSITION_PRECEDING: number;
|
264 | readonly DOCUMENT_TYPE_NODE: number;
|
265 | readonly ELEMENT_NODE: number;
|
266 | readonly ENTITY_NODE: number;
|
267 | readonly ENTITY_REFERENCE_NODE: number;
|
268 | readonly NOTATION_NODE: number;
|
269 | readonly PROCESSING_INSTRUCTION_NODE: number;
|
270 | readonly TEXT_NODE: number;
|
271 | dispatchEvent(evt: Event): boolean;
|
272 | onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
273 | onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
274 | onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
275 | onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
276 | onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
277 | onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
278 | onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
279 | onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
280 | onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
281 | readonly childElementCount: number;
|
282 | readonly firstElementChild: Element;
|
283 | readonly lastElementChild: Element;
|
284 | readonly nextElementSibling: Element;
|
285 | readonly previousElementSibling: Element;
|
286 | readonly children: HTMLCollection;
|
287 | querySelector<K extends "object" | "track" | "progress" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "xmp">(selectors: K): HTMLElementTagNameMap[K];
|
288 | querySelector<K extends "symbol" | "circle" | "defs" | "desc" | "ellipse" | "filter" | "g" | "image" | "line" | "marker" | "mask" | "path" | "metadata" | "pattern" | "polygon" | "polyline" | "rect" | "svg" | "stop" | "switch" | "tspan" | "text" | "use" | "view" | "clippath" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "foreignobject" | "lineargradient" | "radialgradient" | "textpath">(selectors: K): SVGElementTagNameMap[K];
|
289 | querySelector<E extends Element = Element>(selectors: string): E;
|
290 | querySelectorAll<K extends "object" | "track" | "progress" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "xmp">(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
291 | querySelectorAll<K extends "symbol" | "circle" | "defs" | "desc" | "ellipse" | "filter" | "g" | "image" | "line" | "marker" | "mask" | "path" | "metadata" | "pattern" | "polygon" | "polyline" | "rect" | "svg" | "stop" | "switch" | "tspan" | "text" | "use" | "view" | "clippath" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "foreignobject" | "lineargradient" | "radialgradient" | "textpath">(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
292 | querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
293 | remove(): void;
|
294 | readonly style: CSSStyleDeclaration;
|
295 | };
|
296 | properties: Properties;
|
297 | readonly observedAttributes: string[];
|
298 | };
|
299 | export { html, svg, TemplateResult };
|
300 | export { HTMLCollectionByID, Data, PropConfig, Properties, camelCaseToKebab };
|