Move className and id from HTMLElement to Element
This commit is contained in:
parent
42168e39ec
commit
91a138e395
5
src/lib/dom.generated.d.ts
vendored
5
src/lib/dom.generated.d.ts
vendored
|
@ -2711,6 +2711,8 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
|
||||||
scrollTop: number;
|
scrollTop: number;
|
||||||
scrollWidth: number;
|
scrollWidth: number;
|
||||||
tagName: string;
|
tagName: string;
|
||||||
|
id: string;
|
||||||
|
className: string;
|
||||||
getAttribute(name?: string): string;
|
getAttribute(name?: string): string;
|
||||||
getAttributeNS(namespaceURI: string, localName: string): string;
|
getAttributeNS(namespaceURI: string, localName: string): string;
|
||||||
getAttributeNode(name: string): Attr;
|
getAttributeNode(name: string): Attr;
|
||||||
|
@ -3809,14 +3811,12 @@ declare var HTMLDocument: {
|
||||||
interface HTMLElement extends Element {
|
interface HTMLElement extends Element {
|
||||||
accessKey: string;
|
accessKey: string;
|
||||||
children: HTMLCollection;
|
children: HTMLCollection;
|
||||||
className: string;
|
|
||||||
contentEditable: string;
|
contentEditable: string;
|
||||||
dataset: DOMStringMap;
|
dataset: DOMStringMap;
|
||||||
dir: string;
|
dir: string;
|
||||||
draggable: boolean;
|
draggable: boolean;
|
||||||
hidden: boolean;
|
hidden: boolean;
|
||||||
hideFocus: boolean;
|
hideFocus: boolean;
|
||||||
id: string;
|
|
||||||
innerHTML: string;
|
innerHTML: string;
|
||||||
innerText: string;
|
innerText: string;
|
||||||
isContentEditable: boolean;
|
isContentEditable: boolean;
|
||||||
|
@ -12535,7 +12535,6 @@ interface SVGLocatable {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SVGStylable {
|
interface SVGStylable {
|
||||||
className: SVGAnimatedString;
|
|
||||||
style: CSSStyleDeclaration;
|
style: CSSStyleDeclaration;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue