|
|
@ -14,7 +14,6 @@ and limitations under the License. |
|
|
|
***************************************************************************** */ |
|
|
|
***************************************************************************** */ |
|
|
|
|
|
|
|
|
|
|
|
/// <reference no-default-lib="true"/>
|
|
|
|
/// <reference no-default-lib="true"/>
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////
|
|
|
|
/////////////////////////////
|
|
|
|
/// ECMAScript APIs
|
|
|
|
/// ECMAScript APIs
|
|
|
|
/////////////////////////////
|
|
|
|
/////////////////////////////
|
|
|
@ -1225,7 +1224,7 @@ interface ArrayBuffer { |
|
|
|
interface ArrayBufferConstructor { |
|
|
|
interface ArrayBufferConstructor { |
|
|
|
prototype: ArrayBuffer; |
|
|
|
prototype: ArrayBuffer; |
|
|
|
new (byteLength: number): ArrayBuffer; |
|
|
|
new (byteLength: number): ArrayBuffer; |
|
|
|
isView(arg: any): boolean; |
|
|
|
isView(arg: any): arg is ArrayBufferView; |
|
|
|
} |
|
|
|
} |
|
|
|
declare var ArrayBuffer: ArrayBufferConstructor; |
|
|
|
declare var ArrayBuffer: ArrayBufferConstructor; |
|
|
|
|
|
|
|
|
|
|
@ -4362,6 +4361,7 @@ interface AudioContext extends EventTarget { |
|
|
|
destination: AudioDestinationNode; |
|
|
|
destination: AudioDestinationNode; |
|
|
|
listener: AudioListener; |
|
|
|
listener: AudioListener; |
|
|
|
sampleRate: number; |
|
|
|
sampleRate: number; |
|
|
|
|
|
|
|
state: string; |
|
|
|
createAnalyser(): AnalyserNode; |
|
|
|
createAnalyser(): AnalyserNode; |
|
|
|
createBiquadFilter(): BiquadFilterNode; |
|
|
|
createBiquadFilter(): BiquadFilterNode; |
|
|
|
createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; |
|
|
|
createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; |
|
|
@ -5295,7 +5295,7 @@ interface Console { |
|
|
|
select(element: Element): void; |
|
|
|
select(element: Element): void; |
|
|
|
time(timerName?: string): void; |
|
|
|
time(timerName?: string): void; |
|
|
|
timeEnd(timerName?: string): void; |
|
|
|
timeEnd(timerName?: string): void; |
|
|
|
trace(): void; |
|
|
|
trace(message?: any, ...optionalParams: any[]): void; |
|
|
|
warn(message?: any, ...optionalParams: any[]): void; |
|
|
|
warn(message?: any, ...optionalParams: any[]): void; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -5554,9 +5554,9 @@ interface DataTransferItemList { |
|
|
|
length: number; |
|
|
|
length: number; |
|
|
|
add(data: File): DataTransferItem; |
|
|
|
add(data: File): DataTransferItem; |
|
|
|
clear(): void; |
|
|
|
clear(): void; |
|
|
|
item(index: number): File; |
|
|
|
item(index: number): DataTransferItem; |
|
|
|
remove(index: number): void; |
|
|
|
remove(index: number): void; |
|
|
|
[index: number]: File; |
|
|
|
[index: number]: DataTransferItem; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
declare var DataTransferItemList: { |
|
|
|
declare var DataTransferItemList: { |
|
|
@ -6099,6 +6099,7 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven |
|
|
|
* Gets or sets the version attribute specified in the declaration of an XML document. |
|
|
|
* Gets or sets the version attribute specified in the declaration of an XML document. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
xmlVersion: string; |
|
|
|
xmlVersion: string; |
|
|
|
|
|
|
|
currentScript: HTMLScriptElement; |
|
|
|
adoptNode(source: Node): Node; |
|
|
|
adoptNode(source: Node): Node; |
|
|
|
captureEvents(): void; |
|
|
|
captureEvents(): void; |
|
|
|
clear(): void; |
|
|
|
clear(): void; |
|
|
@ -6234,6 +6235,68 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven |
|
|
|
createElement(tagName: "x-ms-webview"): MSHTMLWebViewElement; |
|
|
|
createElement(tagName: "x-ms-webview"): MSHTMLWebViewElement; |
|
|
|
createElement(tagName: "xmp"): HTMLBlockElement; |
|
|
|
createElement(tagName: "xmp"): HTMLBlockElement; |
|
|
|
createElement(tagName: string): HTMLElement; |
|
|
|
createElement(tagName: string): HTMLElement; |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "a"): SVGAElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "circle"): SVGCircleElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "clipPath"): SVGClipPathElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "componentTransferFunction"): SVGComponentTransferFunctionElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "defs"): SVGDefsElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "desc"): SVGDescElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "ellipse"): SVGEllipseElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feBlend"): SVGFEBlendElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feColorMatrix"): SVGFEColorMatrixElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComponentTransfer"): SVGFEComponentTransferElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComposite"): SVGFECompositeElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feConvolveMatrix"): SVGFEConvolveMatrixElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDiffuseLighting"): SVGFEDiffuseLightingElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDisplacementMap"): SVGFEDisplacementMapElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDistantLight"): SVGFEDistantLightElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFlood"): SVGFEFloodElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncA"): SVGFEFuncAElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncB"): SVGFEFuncBElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncG"): SVGFEFuncGElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncR"): SVGFEFuncRElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feGaussianBlur"): SVGFEGaussianBlurElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feImage"): SVGFEImageElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMerge"): SVGFEMergeElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMergeNode"): SVGFEMergeNodeElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMorphology"): SVGFEMorphologyElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feOffset"): SVGFEOffsetElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "fePointLight"): SVGFEPointLightElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpecularLighting"): SVGFESpecularLightingElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpotLight"): SVGFESpotLightElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTile"): SVGFETileElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTurbulence"): SVGFETurbulenceElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "filter"): SVGFilterElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "foreignObject"): SVGForeignObjectElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "g"): SVGGElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "image"): SVGImageElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "gradient"): SVGGradientElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "line"): SVGLineElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "linearGradient"): SVGLinearGradientElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "marker"): SVGMarkerElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "mask"): SVGMaskElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "path"): SVGPathElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "metadata"): SVGMetadataElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "pattern"): SVGPatternElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polygon"): SVGPolygonElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polyline"): SVGPolylineElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "radialGradient"): SVGRadialGradientElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "rect"): SVGRectElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "svg"): SVGSVGElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "script"): SVGScriptElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "stop"): SVGStopElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "style"): SVGStyleElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "switch"): SVGSwitchElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "symbol"): SVGSymbolElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "tspan"): SVGTSpanElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textContent"): SVGTextContentElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "text"): SVGTextElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPath"): SVGTextPathElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPositioning"): SVGTextPositioningElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "title"): SVGTitleElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "use"): SVGUseElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "view"): SVGViewElement |
|
|
|
|
|
|
|
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement |
|
|
|
createElementNS(namespaceURI: string, qualifiedName: string): Element; |
|
|
|
createElementNS(namespaceURI: string, qualifiedName: string): Element; |
|
|
|
createExpression(expression: string, resolver: XPathNSResolver): XPathExpression; |
|
|
|
createExpression(expression: string, resolver: XPathNSResolver): XPathExpression; |
|
|
|
createNSResolver(nodeResolver: Node): XPathNSResolver; |
|
|
|
createNSResolver(nodeResolver: Node): XPathNSResolver; |
|
|
@ -6546,6 +6609,8 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven |
|
|
|
* @param content The text and HTML tags to write. |
|
|
|
* @param content The text and HTML tags to write. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
writeln(...content: string[]): void; |
|
|
|
writeln(...content: string[]): void; |
|
|
|
|
|
|
|
createElement(tagName: "picture"): HTMLPictureElement; |
|
|
|
|
|
|
|
getElementsByTagName(tagname: "picture"): NodeListOf<HTMLPictureElement>; |
|
|
|
addEventListener(type: "MSContentZoom", listener: (ev: UIEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSContentZoom", listener: (ev: UIEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
@ -6752,6 +6817,7 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec |
|
|
|
tagName: string; |
|
|
|
tagName: string; |
|
|
|
id: string; |
|
|
|
id: string; |
|
|
|
className: string; |
|
|
|
className: string; |
|
|
|
|
|
|
|
innerHTML: 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; |
|
|
@ -6947,7 +7013,7 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec |
|
|
|
removeAttributeNode(oldAttr: Attr): Attr; |
|
|
|
removeAttributeNode(oldAttr: Attr): Attr; |
|
|
|
requestFullscreen(): void; |
|
|
|
requestFullscreen(): void; |
|
|
|
requestPointerLock(): void; |
|
|
|
requestPointerLock(): void; |
|
|
|
setAttribute(name?: string, value?: string): void; |
|
|
|
setAttribute(name: string, value: string): void; |
|
|
|
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void; |
|
|
|
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void; |
|
|
|
setAttributeNode(newAttr: Attr): Attr; |
|
|
|
setAttributeNode(newAttr: Attr): Attr; |
|
|
|
setAttributeNodeNS(newAttr: Attr): Attr; |
|
|
|
setAttributeNodeNS(newAttr: Attr): Attr; |
|
|
@ -6956,6 +7022,8 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec |
|
|
|
webkitRequestFullScreen(): void; |
|
|
|
webkitRequestFullScreen(): void; |
|
|
|
webkitRequestFullscreen(): void; |
|
|
|
webkitRequestFullscreen(): void; |
|
|
|
getElementsByClassName(classNames: string): NodeListOf<Element>; |
|
|
|
getElementsByClassName(classNames: string): NodeListOf<Element>; |
|
|
|
|
|
|
|
matches(selector: string): boolean; |
|
|
|
|
|
|
|
getElementsByTagName(tagname: "picture"): NodeListOf<HTMLPictureElement>; |
|
|
|
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void; |
|
|
@ -7745,6 +7813,7 @@ interface HTMLCanvasElement extends HTMLElement { |
|
|
|
* @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image. |
|
|
|
* @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
toDataURL(type?: string, ...args: any[]): string; |
|
|
|
toDataURL(type?: string, ...args: any[]): string; |
|
|
|
|
|
|
|
toBlob(): Blob; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
declare var HTMLCanvasElement: { |
|
|
|
declare var HTMLCanvasElement: { |
|
|
@ -7940,7 +8009,6 @@ interface HTMLElement extends Element { |
|
|
|
title: string; |
|
|
|
title: string; |
|
|
|
blur(): void; |
|
|
|
blur(): void; |
|
|
|
click(): void; |
|
|
|
click(): void; |
|
|
|
contains(child: HTMLElement): boolean; |
|
|
|
|
|
|
|
dragDrop(): boolean; |
|
|
|
dragDrop(): boolean; |
|
|
|
focus(): void; |
|
|
|
focus(): void; |
|
|
|
insertAdjacentElement(position: string, insertedElement: Element): Element; |
|
|
|
insertAdjacentElement(position: string, insertedElement: Element): Element; |
|
|
@ -9490,7 +9558,7 @@ interface HTMLMediaElement extends HTMLElement { |
|
|
|
* Gets or sets the current playback position, in seconds. |
|
|
|
* Gets or sets the current playback position, in seconds. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
preload: string; |
|
|
|
preload: string; |
|
|
|
readyState: any; |
|
|
|
readyState: number; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. |
|
|
|
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -10114,7 +10182,7 @@ interface HTMLSelectElement extends HTMLElement { |
|
|
|
* Sets or retrieves the name of the object. |
|
|
|
* Sets or retrieves the name of the object. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
name: string; |
|
|
|
name: string; |
|
|
|
options: HTMLSelectElement; |
|
|
|
options: HTMLCollection; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* When present, marks an element that can't be submitted without a value. |
|
|
|
* When present, marks an element that can't be submitted without a value. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -10147,6 +10215,7 @@ interface HTMLSelectElement extends HTMLElement { |
|
|
|
* Returns whether an element will successfully validate based on forms validation rules and constraints. |
|
|
|
* Returns whether an element will successfully validate based on forms validation rules and constraints. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
willValidate: boolean; |
|
|
|
willValidate: boolean; |
|
|
|
|
|
|
|
selectedOptions: HTMLCollection; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Adds an element to the areas, controlRange, or options collection. |
|
|
|
* Adds an element to the areas, controlRange, or options collection. |
|
|
|
* @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection. |
|
|
|
* @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection. |
|
|
@ -10400,19 +10469,19 @@ interface HTMLTableElement extends HTMLElement { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Creates an empty caption element in the table. |
|
|
|
* Creates an empty caption element in the table. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
createCaption(): HTMLElement; |
|
|
|
createCaption(): HTMLTableCaptionElement; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Creates an empty tBody element in the table. |
|
|
|
* Creates an empty tBody element in the table. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
createTBody(): HTMLElement; |
|
|
|
createTBody(): HTMLTableSectionElement; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Creates an empty tFoot element in the table. |
|
|
|
* Creates an empty tFoot element in the table. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
createTFoot(): HTMLElement; |
|
|
|
createTFoot(): HTMLTableSectionElement; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Returns the tHead element object if successful, or null otherwise. |
|
|
|
* Returns the tHead element object if successful, or null otherwise. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
createTHead(): HTMLElement; |
|
|
|
createTHead(): HTMLTableSectionElement; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Deletes the caption element and its contents from the table. |
|
|
|
* Deletes the caption element and its contents from the table. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -10434,7 +10503,7 @@ interface HTMLTableElement extends HTMLElement { |
|
|
|
* Creates a new row (tr) in the table, and adds the row to the rows collection. |
|
|
|
* Creates a new row (tr) in the table, and adds the row to the rows collection. |
|
|
|
* @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. |
|
|
|
* @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
insertRow(index?: number): HTMLElement; |
|
|
|
insertRow(index?: number): HTMLTableRowElement; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
declare var HTMLTableElement: { |
|
|
|
declare var HTMLTableElement: { |
|
|
@ -10485,7 +10554,7 @@ interface HTMLTableRowElement extends HTMLElement, HTMLTableAlignment { |
|
|
|
* Creates a new cell in the table row, and adds the cell to the cells collection. |
|
|
|
* Creates a new cell in the table row, and adds the cell to the cells collection. |
|
|
|
* @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection. |
|
|
|
* @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
insertCell(index?: number): HTMLElement; |
|
|
|
insertCell(index?: number): HTMLTableCellElement; |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -10512,7 +10581,7 @@ interface HTMLTableSectionElement extends HTMLElement, HTMLTableAlignment { |
|
|
|
* Creates a new row (tr) in the table, and adds the row to the rows collection. |
|
|
|
* Creates a new row (tr) in the table, and adds the row to the rows collection. |
|
|
|
* @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. |
|
|
|
* @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
insertRow(index?: number): HTMLElement; |
|
|
|
insertRow(index?: number): HTMLTableRowElement; |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -10899,9 +10968,9 @@ interface IDBDatabase extends EventTarget { |
|
|
|
objectStoreNames: DOMStringList; |
|
|
|
objectStoreNames: DOMStringList; |
|
|
|
onabort: (ev: Event) => any; |
|
|
|
onabort: (ev: Event) => any; |
|
|
|
onerror: (ev: Event) => any; |
|
|
|
onerror: (ev: Event) => any; |
|
|
|
version: string; |
|
|
|
version: number; |
|
|
|
close(): void; |
|
|
|
close(): void; |
|
|
|
createObjectStore(name: string, optionalParameters?: any): IDBObjectStore; |
|
|
|
createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore; |
|
|
|
deleteObjectStore(name: string): void; |
|
|
|
deleteObjectStore(name: string): void; |
|
|
|
transaction(storeNames: any, mode?: string): IDBTransaction; |
|
|
|
transaction(storeNames: any, mode?: string): IDBTransaction; |
|
|
|
addEventListener(type: "abort", listener: (ev: Event) => any, useCapture?: boolean): void; |
|
|
|
addEventListener(type: "abort", listener: (ev: Event) => any, useCapture?: boolean): void; |
|
|
@ -10926,10 +10995,11 @@ declare var IDBFactory: { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface IDBIndex { |
|
|
|
interface IDBIndex { |
|
|
|
keyPath: string; |
|
|
|
keyPath: string | string[]; |
|
|
|
name: string; |
|
|
|
name: string; |
|
|
|
objectStore: IDBObjectStore; |
|
|
|
objectStore: IDBObjectStore; |
|
|
|
unique: boolean; |
|
|
|
unique: boolean; |
|
|
|
|
|
|
|
multiEntry: boolean; |
|
|
|
count(key?: any): IDBRequest; |
|
|
|
count(key?: any): IDBRequest; |
|
|
|
get(key: any): IDBRequest; |
|
|
|
get(key: any): IDBRequest; |
|
|
|
getKey(key: any): IDBRequest; |
|
|
|
getKey(key: any): IDBRequest; |
|
|
@ -10966,7 +11036,7 @@ interface IDBObjectStore { |
|
|
|
add(value: any, key?: any): IDBRequest; |
|
|
|
add(value: any, key?: any): IDBRequest; |
|
|
|
clear(): IDBRequest; |
|
|
|
clear(): IDBRequest; |
|
|
|
count(key?: any): IDBRequest; |
|
|
|
count(key?: any): IDBRequest; |
|
|
|
createIndex(name: string, keyPath: string, optionalParameters?: any): IDBIndex; |
|
|
|
createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex; |
|
|
|
delete(key: any): IDBRequest; |
|
|
|
delete(key: any): IDBRequest; |
|
|
|
deleteIndex(indexName: string): void; |
|
|
|
deleteIndex(indexName: string): void; |
|
|
|
get(key: any): IDBRequest; |
|
|
|
get(key: any): IDBRequest; |
|
|
@ -11050,19 +11120,17 @@ declare var IDBVersionChangeEvent: { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ImageData { |
|
|
|
interface ImageData { |
|
|
|
data: number[]; |
|
|
|
data: Uint8ClampedArray; |
|
|
|
height: number; |
|
|
|
height: number; |
|
|
|
width: number; |
|
|
|
width: number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ImageDataConstructor { |
|
|
|
declare var ImageData: { |
|
|
|
prototype: ImageData; |
|
|
|
prototype: ImageData; |
|
|
|
new(width: number, height: number): ImageData; |
|
|
|
new(width: number, height: number): ImageData; |
|
|
|
new(array: Uint8ClampedArray, width: number, height: number): ImageData; |
|
|
|
new(array: Uint8ClampedArray, width: number, height: number): ImageData; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
declare var ImageData: ImageDataConstructor; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface KeyboardEvent extends UIEvent { |
|
|
|
interface KeyboardEvent extends UIEvent { |
|
|
|
altKey: boolean; |
|
|
|
altKey: boolean; |
|
|
|
char: string; |
|
|
|
char: string; |
|
|
@ -11616,7 +11684,7 @@ declare var MediaQueryList: { |
|
|
|
interface MediaSource extends EventTarget { |
|
|
|
interface MediaSource extends EventTarget { |
|
|
|
activeSourceBuffers: SourceBufferList; |
|
|
|
activeSourceBuffers: SourceBufferList; |
|
|
|
duration: number; |
|
|
|
duration: number; |
|
|
|
readyState: number; |
|
|
|
readyState: string; |
|
|
|
sourceBuffers: SourceBufferList; |
|
|
|
sourceBuffers: SourceBufferList; |
|
|
|
addSourceBuffer(type: string): SourceBuffer; |
|
|
|
addSourceBuffer(type: string): SourceBuffer; |
|
|
|
endOfStream(error?: number): void; |
|
|
|
endOfStream(error?: number): void; |
|
|
@ -11850,6 +11918,7 @@ interface Navigator extends Object, NavigatorID, NavigatorOnLine, NavigatorConte |
|
|
|
getGamepads(): Gamepad[]; |
|
|
|
getGamepads(): Gamepad[]; |
|
|
|
javaEnabled(): boolean; |
|
|
|
javaEnabled(): boolean; |
|
|
|
msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void; |
|
|
|
msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void; |
|
|
|
|
|
|
|
vibrate(pattern: number | number[]): boolean; |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -11890,6 +11959,7 @@ interface Node extends EventTarget { |
|
|
|
normalize(): void; |
|
|
|
normalize(): void; |
|
|
|
removeChild(oldChild: Node): Node; |
|
|
|
removeChild(oldChild: Node): Node; |
|
|
|
replaceChild(newChild: Node, oldChild: Node): Node; |
|
|
|
replaceChild(newChild: Node, oldChild: Node): Node; |
|
|
|
|
|
|
|
contains(node: Node): boolean; |
|
|
|
ATTRIBUTE_NODE: number; |
|
|
|
ATTRIBUTE_NODE: number; |
|
|
|
CDATA_SECTION_NODE: number; |
|
|
|
CDATA_SECTION_NODE: number; |
|
|
|
COMMENT_NODE: number; |
|
|
|
COMMENT_NODE: number; |
|
|
@ -14343,17 +14413,16 @@ declare var Storage: { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface StorageEvent extends Event { |
|
|
|
interface StorageEvent extends Event { |
|
|
|
key: string; |
|
|
|
|
|
|
|
newValue: any; |
|
|
|
|
|
|
|
oldValue: any; |
|
|
|
|
|
|
|
storageArea: Storage; |
|
|
|
|
|
|
|
url: string; |
|
|
|
url: string; |
|
|
|
initStorageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, keyArg: string, oldValueArg: any, newValueArg: any, urlArg: string, storageAreaArg: Storage): void; |
|
|
|
key?: string; |
|
|
|
|
|
|
|
oldValue?: string; |
|
|
|
|
|
|
|
newValue?: string; |
|
|
|
|
|
|
|
storageArea?: Storage; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
declare var StorageEvent: { |
|
|
|
declare var StorageEvent: { |
|
|
|
prototype: StorageEvent; |
|
|
|
prototype: StorageEvent; |
|
|
|
new(): StorageEvent; |
|
|
|
new (type: string, eventInitDict?: StorageEventInit): StorageEvent; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface StyleMedia { |
|
|
|
interface StyleMedia { |
|
|
@ -15951,7 +16020,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window |
|
|
|
msMatchMedia(mediaQuery: string): MediaQueryList; |
|
|
|
msMatchMedia(mediaQuery: string): MediaQueryList; |
|
|
|
msRequestAnimationFrame(callback: FrameRequestCallback): number; |
|
|
|
msRequestAnimationFrame(callback: FrameRequestCallback): number; |
|
|
|
msWriteProfilerMark(profilerMarkName: string): void; |
|
|
|
msWriteProfilerMark(profilerMarkName: string): void; |
|
|
|
open(url?: string, target?: string, features?: string, replace?: boolean): any; |
|
|
|
open(url?: string, target?: string, features?: string, replace?: boolean): Window; |
|
|
|
postMessage(message: any, targetOrigin: string, ports?: any): void; |
|
|
|
postMessage(message: any, targetOrigin: string, ports?: any): void; |
|
|
|
print(): void; |
|
|
|
print(): void; |
|
|
|
prompt(message?: string, _default?: string): string; |
|
|
|
prompt(message?: string, _default?: string): string; |
|
|
@ -16553,6 +16622,24 @@ interface XMLHttpRequestEventTarget { |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface StorageEventInit extends EventInit { |
|
|
|
|
|
|
|
key?: string; |
|
|
|
|
|
|
|
oldValue?: string; |
|
|
|
|
|
|
|
newValue?: string; |
|
|
|
|
|
|
|
url: string; |
|
|
|
|
|
|
|
storageArea?: Storage; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface IDBObjectStoreParameters { |
|
|
|
|
|
|
|
keyPath?: string | string[]; |
|
|
|
|
|
|
|
autoIncrement?: boolean; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface IDBIndexParameters { |
|
|
|
|
|
|
|
unique?: boolean; |
|
|
|
|
|
|
|
multiEntry?: boolean; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface NodeListOf<TNode extends Node> extends NodeList { |
|
|
|
interface NodeListOf<TNode extends Node> extends NodeList { |
|
|
|
length: number; |
|
|
|
length: number; |
|
|
|
item(index: number): TNode; |
|
|
|
item(index: number): TNode; |
|
|
@ -16588,6 +16675,23 @@ interface ProgressEventInit extends EventInit { |
|
|
|
total?: number; |
|
|
|
total?: number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface HTMLTemplateElement extends HTMLElement { |
|
|
|
|
|
|
|
content: DocumentFragment; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
declare var HTMLTemplateElement: { |
|
|
|
|
|
|
|
prototype: HTMLTemplateElement; |
|
|
|
|
|
|
|
new(): HTMLTemplateElement; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface HTMLPictureElement extends HTMLElement { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
declare var HTMLPictureElement: { |
|
|
|
|
|
|
|
prototype: HTMLPictureElement; |
|
|
|
|
|
|
|
new(): HTMLPictureElement; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject; |
|
|
|
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject; |
|
|
|
|
|
|
|
|
|
|
|
interface ErrorEventHandler { |
|
|
|
interface ErrorEventHandler { |
|
|
@ -16784,7 +16888,7 @@ declare function msCancelRequestAnimationFrame(handle: number): void; |
|
|
|
declare function msMatchMedia(mediaQuery: string): MediaQueryList; |
|
|
|
declare function msMatchMedia(mediaQuery: string): MediaQueryList; |
|
|
|
declare function msRequestAnimationFrame(callback: FrameRequestCallback): number; |
|
|
|
declare function msRequestAnimationFrame(callback: FrameRequestCallback): number; |
|
|
|
declare function msWriteProfilerMark(profilerMarkName: string): void; |
|
|
|
declare function msWriteProfilerMark(profilerMarkName: string): void; |
|
|
|
declare function open(url?: string, target?: string, features?: string, replace?: boolean): any; |
|
|
|
declare function open(url?: string, target?: string, features?: string, replace?: boolean): Window; |
|
|
|
declare function postMessage(message: any, targetOrigin: string, ports?: any): void; |
|
|
|
declare function postMessage(message: any, targetOrigin: string, ports?: any): void; |
|
|
|
declare function print(): void; |
|
|
|
declare function print(): void; |
|
|
|
declare function prompt(message?: string, _default?: string): string; |
|
|
|
declare function prompt(message?: string, _default?: string): string; |
|
|
|