/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
///
/////////////////////////////
/// IE10 ECMAScript Extensions
/////////////////////////////
/**
* Represents a raw buffer of binary data, which is used to store data for the
* different typed arrays. ArrayBuffers cannot be read from or written to directly,
* but can be passed to a typed array or DataView Object to interpret the raw
* buffer as needed.
*/
interface ArrayBuffer {
/**
* Read-only. The length of the ArrayBuffer (in bytes).
*/
byteLength: number;
/**
* Returns a section of an ArrayBuffer.
*/
slice(begin:number, end?:number): ArrayBuffer;
}
declare var ArrayBuffer: {
prototype: ArrayBuffer;
new (byteLength: number): ArrayBuffer;
}
interface ArrayBufferView {
buffer: ArrayBuffer;
byteOffset: number;
byteLength: number;
}
/**
* A typed array of 8-bit integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Int8Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Int8Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements at begin, inclusive, up to end, exclusive.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Int8Array;
}
declare var Int8Array: {
prototype: Int8Array;
new (length: number): Int8Array;
new (array: Int8Array): Int8Array;
new (array: number[]): Int8Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int8Array;
BYTES_PER_ELEMENT: number;
}
/**
* A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Uint8Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Uint8Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Uint8Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Uint8Array;
}
declare var Uint8Array: {
prototype: Uint8Array;
new (length: number): Uint8Array;
new (array: Uint8Array): Uint8Array;
new (array: number[]): Uint8Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint8Array;
BYTES_PER_ELEMENT: number;
}
/**
* A typed array of 16-bit integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Int16Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Int16Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Int16Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Int16Array;
}
declare var Int16Array: {
prototype: Int16Array;
new (length: number): Int16Array;
new (array: Int16Array): Int16Array;
new (array: number[]): Int16Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int16Array;
BYTES_PER_ELEMENT: number;
}
/**
* A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Uint16Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Uint16Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Uint16Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Uint16Array;
}
declare var Uint16Array: {
prototype: Uint16Array;
new (length: number): Uint16Array;
new (array: Uint16Array): Uint16Array;
new (array: number[]): Uint16Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint16Array;
BYTES_PER_ELEMENT: number;
}
/**
* A typed array of 32-bit integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Int32Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Int32Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Int32Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Int32Array;
}
declare var Int32Array: {
prototype: Int32Array;
new (length: number): Int32Array;
new (array: Int32Array): Int32Array;
new (array: number[]): Int32Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int32Array;
BYTES_PER_ELEMENT: number;
}
/**
* A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Uint32Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Uint32Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Int8Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Uint32Array;
}
declare var Uint32Array: {
prototype: Uint32Array;
new (length: number): Uint32Array;
new (array: Uint32Array): Uint32Array;
new (array: number[]): Uint32Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint32Array;
BYTES_PER_ELEMENT: number;
}
/**
* A typed array of 32-bit float values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Float32Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Float32Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Float32Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Float32Array;
}
declare var Float32Array: {
prototype: Float32Array;
new (length: number): Float32Array;
new (array: Float32Array): Float32Array;
new (array: number[]): Float32Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float32Array;
BYTES_PER_ELEMENT: number;
}
/**
* A typed array of 64-bit float values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.
*/
interface Float64Array extends ArrayBufferView {
/**
* The size in bytes of each element in the array.
*/
BYTES_PER_ELEMENT: number;
/**
* The length of the array.
*/
length: number;
[index: number]: number;
/**
* Gets the element at the specified index.
* @param index The index at which to get the element of the array.
*/
get(index: number): number;
/**
* Sets a value or an array of values.
* @param index The index of the location to set.
* @param value The value to set.
*/
set(index: number, value: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: Float64Array, offset?: number): void;
/**
* Sets a value or an array of values.
* @param array A typed or untyped array of values to set.
* @param offset The index in the current array at which the values are to be written.
*/
set(array: number[], offset?: number): void;
/**
* Gets a new Float64Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin: number, end?: number): Float64Array;
}
declare var Float64Array: {
prototype: Float64Array;
new (length: number): Float64Array;
new (array: Float64Array): Float64Array;
new (array: number[]): Float64Array;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float64Array;
BYTES_PER_ELEMENT: number;
}
/**
* You can use a DataView object to read and write the different kinds of binary data to any location in the ArrayBuffer.
*/
interface DataView extends ArrayBufferView {
/**
* Gets the Int8 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getInt8(byteOffset: number): number;
/**
* Gets the Uint8 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getUint8(byteOffset: number): number;
/**
* Gets the Int16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getInt16(byteOffset: number, littleEndian?: boolean): number;
/**
* Gets the Uint16 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getUint16(byteOffset: number, littleEndian?: boolean): number;
/**
* Gets the Int32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getInt32(byteOffset: number, littleEndian?: boolean): number;
/**
* Gets the Uint32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getUint32(byteOffset: number, littleEndian?: boolean): number;
/**
* Gets the Float32 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getFloat32(byteOffset: number, littleEndian?: boolean): number;
/**
* Gets the Float64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.
* @param byteOffset The place in the buffer at which the value should be retrieved.
*/
getFloat64(byteOffset: number, littleEndian?: boolean): number;
/**
* Stores an Int8 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
*/
setInt8(byteOffset: number, value: number): void;
/**
* Stores an Uint8 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
*/
setUint8(byteOffset: number, value: number): void;
/**
* Stores an Int16 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
* @param littleEndian If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.
*/
setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;
/**
* Stores an Uint16 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
* @param littleEndian If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.
*/
setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;
/**
* Stores an Int32 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
* @param littleEndian If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.
*/
setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;
/**
* Stores an Uint32 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
* @param littleEndian If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.
*/
setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;
/**
* Stores an Float32 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
* @param littleEndian If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.
*/
setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;
/**
* Stores an Float64 value at the specified byte offset from the start of the view.
* @param byteOffset The place in the buffer at which the value should be set.
* @param value The value to set.
* @param littleEndian If false or undefined, a big-endian value should be written, otherwise a little-endian value should be written.
*/
setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;
}
declare var DataView: {
prototype: DataView;
new (buffer: ArrayBuffer, byteOffset?: number, length?: number): DataView;
}
/////////////////////////////
/// IE11 ECMAScript Extensions
/////////////////////////////
interface Map {
clear(): void;
delete(key: K): boolean;
forEach(callbackfn: (value: V, index: K, map: Map) => void, thisArg?: any): void;
get(key: K): V;
has(key: K): boolean;
set(key: K, value: V): Map;
size: number;
}
declare var Map: {
new (): Map;
}
interface WeakMap {
clear(): void;
delete(key: K): boolean;
get(key: K): V;
has(key: K): boolean;
set(key: K, value: V): WeakMap;
}
declare var WeakMap: {
new (): WeakMap;
}
interface Set {
add(value: T): Set;
clear(): void;
delete(value: T): boolean;
forEach(callbackfn: (value: T, index: T, set: Set) => void, thisArg?: any): void;
has(value: T): boolean;
size: number;
}
declare var Set: {
new (): Set;
}
declare module Intl {
interface CollatorOptions {
usage?: string;
localeMatcher?: string;
numeric?: boolean;
caseFirst?: string;
sensitivity?: string;
ignorePunctuation?: boolean;
}
interface ResolvedCollatorOptions {
locale: string;
usage: string;
sensitivity: string;
ignorePunctuation: boolean;
collation: string;
caseFirst: string;
numeric: boolean;
}
interface Collator {
compare(x: string, y: string): number;
resolvedOptions(): ResolvedCollatorOptions;
}
var Collator: {
new (locales?: string[], options?: CollatorOptions): Collator;
new (locale?: string, options?: CollatorOptions): Collator;
(locales?: string[], options?: CollatorOptions): Collator;
(locale?: string, options?: CollatorOptions): Collator;
supportedLocalesOf(locales: string[], options?: CollatorOptions): string[];
supportedLocalesOf(locale: string, options?: CollatorOptions): string[];
}
interface NumberFormatOptions {
localeMatcher?: string;
style?: string;
currency?: string;
currencyDisplay?: string;
useGrouping?: boolean;
}
interface ResolvedNumberFormatOptions {
locale: string;
numberingSystem: string;
style: string;
currency?: string;
currencyDisplay?: string;
minimumintegerDigits: number;
minimumFractionDigits: number;
maximumFractionDigits: number;
minimumSignificantDigits?: number;
maximumSignificantDigits?: number;
useGrouping: boolean;
}
interface NumberFormat {
format(value: number): string;
resolvedOptions(): ResolvedNumberFormatOptions;
}
var NumberFormat: {
new (locales?: string[], options?: NumberFormatOptions): Collator;
new (locale?: string, options?: NumberFormatOptions): Collator;
(locales?: string[], options?: NumberFormatOptions): Collator;
(locale?: string, options?: NumberFormatOptions): Collator;
supportedLocalesOf(locales: string[], options?: NumberFormatOptions): string[];
supportedLocalesOf(locale: string, options?: NumberFormatOptions): string[];
}
interface DateTimeFormatOptions {
localeMatcher?: string;
weekday?: string;
era?: string;
year?: string;
month?: string;
day?: string;
hour?: string;
minute?: string;
second?: string;
timeZoneName?: string;
formatMatcher?: string;
hour12: boolean;
}
interface ResolvedDateTimeFormatOptions {
locale: string;
calendar: string;
numberingSystem: string;
timeZone: string;
hour12?: boolean;
weekday?: string;
era?: string;
year?: string;
month?: string;
day?: string;
hour?: string;
minute?: string;
second?: string;
timeZoneName?: string;
}
interface DateTimeFormat {
format(date: number): string;
resolvedOptions(): ResolvedDateTimeFormatOptions;
}
var DateTimeFormat: {
new (locales?: string[], options?: DateTimeFormatOptions): Collator;
new (locale?: string, options?: DateTimeFormatOptions): Collator;
(locales?: string[], options?: DateTimeFormatOptions): Collator;
(locale?: string, options?: DateTimeFormatOptions): Collator;
supportedLocalesOf(locales: string[], options?: DateTimeFormatOptions): string[];
supportedLocalesOf(locale: string, options?: DateTimeFormatOptions): string[];
}
}
interface String {
/**
* Determines whether two strings are equivalent in the current locale.
* @param that String to compare to target string
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.
* @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.
*/
localeCompare(that: string, locales: string[], options?: Intl.CollatorOptions): number;
/**
* Determines whether two strings are equivalent in the current locale.
* @param that String to compare to target string
* @param locale Locale tag. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.
* @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.
*/
localeCompare(that: string, locale: string, options?: Intl.CollatorOptions): number;
}
interface Number {
/**
* Converts a number to a string by using the current or specified locale.
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
* @param options An object that contains one or more properties that specify comparison options.
*/
toLocaleString(locales?: string[], options?: Intl.NumberFormatOptions): string;
/**
* Converts a number to a string by using the current or specified locale.
* @param locale Locale tag. If you omit this parameter, the default locale of the JavaScript runtime is used.
* @param options An object that contains one or more properties that specify comparison options.
*/
toLocaleString(locale?: string, options?: Intl.NumberFormatOptions): string;
}
interface Date {
/**
* Converts a date to a string by using the current or specified locale.
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
* @param options An object that contains one or more properties that specify comparison options.
*/
toLocaleString(locales?: string[], options?: Intl.DateTimeFormatOptions): string;
/**
* Converts a date to a string by using the current or specified locale.
* @param locale Locale tag. If you omit this parameter, the default locale of the JavaScript runtime is used.
* @param options An object that contains one or more properties that specify comparison options.
*/
toLocaleString(locale?: string, options?: Intl.DateTimeFormatOptions): string;
}
/////////////////////////////
/// IE DOM APIs
/////////////////////////////
interface PositionOptions {
enableHighAccuracy?: boolean;
timeout?: number;
maximumAge?: number;
}
interface ObjectURLOptions {
oneTimeOnly?: boolean;
}
interface StoreExceptionsInformation extends ExceptionInformation {
siteName?: string;
explanationString?: string;
detailURI?: string;
}
interface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {
arrayOfDomainStrings?: string[];
}
interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {
arrayOfDomainStrings?: string[];
}
interface AlgorithmParameters {
}
interface MutationObserverInit {
childList?: boolean;
attributes?: boolean;
characterData?: boolean;
subtree?: boolean;
attributeOldValue?: boolean;
characterDataOldValue?: boolean;
attributeFilter?: string[];
}
interface PointerEventInit extends MouseEventInit {
pointerId?: number;
width?: number;
height?: number;
pressure?: number;
tiltX?: number;
tiltY?: number;
pointerType?: string;
isPrimary?: boolean;
}
interface ExceptionInformation {
domain?: string;
}
interface DeviceAccelerationDict {
x?: number;
y?: number;
z?: number;
}
interface MsZoomToOptions {
contentX?: number;
contentY?: number;
viewportX?: string;
viewportY?: string;
scaleFactor?: number;
animate?: string;
}
interface DeviceRotationRateDict {
alpha?: number;
beta?: number;
gamma?: number;
}
interface Algorithm {
name?: string;
params?: AlgorithmParameters;
}
interface MouseEventInit {
bubbles?: boolean;
cancelable?: boolean;
view?: Window;
detail?: number;
screenX?: number;
screenY?: number;
clientX?: number;
clientY?: number;
ctrlKey?: boolean;
shiftKey?: boolean;
altKey?: boolean;
metaKey?: boolean;
button?: number;
buttons?: number;
relatedTarget?: EventTarget;
}
interface WebGLContextAttributes {
alpha?: boolean;
depth?: boolean;
stencil?: boolean;
antialias?: boolean;
premultipliedAlpha?: boolean;
preserveDrawingBuffer?: boolean;
}
interface NodeListOf extends NodeList {
length: number;
item(index: number): TNode;
[index: number]: TNode;
}
interface HTMLElement extends Element, ElementCSSInlineStyle, MSEventAttachmentTarget, MSNodeExtensions {
hidden: any;
readyState: any;
onmouseleave: (ev: MouseEvent) => any;
onbeforecut: (ev: DragEvent) => any;
onkeydown: (ev: KeyboardEvent) => any;
onmove: (ev: MSEventObj) => any;
onkeyup: (ev: KeyboardEvent) => any;
onreset: (ev: Event) => any;
onhelp: (ev: Event) => any;
ondragleave: (ev: DragEvent) => any;
className: string;
onfocusin: (ev: FocusEvent) => any;
onseeked: (ev: Event) => any;
recordNumber: any;
title: string;
parentTextEdit: Element;
outerHTML: string;
ondurationchange: (ev: Event) => any;
offsetHeight: number;
all: HTMLCollection;
onblur: (ev: FocusEvent) => any;
dir: string;
onemptied: (ev: Event) => any;
onseeking: (ev: Event) => any;
oncanplay: (ev: Event) => any;
ondeactivate: (ev: UIEvent) => any;
ondatasetchanged: (ev: MSEventObj) => any;
onrowsdelete: (ev: MSEventObj) => any;
sourceIndex: number;
onloadstart: (ev: Event) => any;
onlosecapture: (ev: MSEventObj) => any;
ondragenter: (ev: DragEvent) => any;
oncontrolselect: (ev: MSEventObj) => any;
onsubmit: (ev: Event) => any;
behaviorUrns: MSBehaviorUrnsCollection;
scopeName: string;
onchange: (ev: Event) => any;
id: string;
onlayoutcomplete: (ev: MSEventObj) => any;
uniqueID: string;
onbeforeactivate: (ev: UIEvent) => any;
oncanplaythrough: (ev: Event) => any;
onbeforeupdate: (ev: MSEventObj) => any;
onfilterchange: (ev: MSEventObj) => any;
offsetParent: Element;
ondatasetcomplete: (ev: MSEventObj) => any;
onsuspend: (ev: Event) => any;
onmouseenter: (ev: MouseEvent) => any;
innerText: string;
onerrorupdate: (ev: MSEventObj) => any;
onmouseout: (ev: MouseEvent) => any;
parentElement: HTMLElement;
onmousewheel: (ev: MouseWheelEvent) => any;
onvolumechange: (ev: Event) => any;
oncellchange: (ev: MSEventObj) => any;
onrowexit: (ev: MSEventObj) => any;
onrowsinserted: (ev: MSEventObj) => any;
onpropertychange: (ev: MSEventObj) => any;
filters: any;
children: HTMLCollection;
ondragend: (ev: DragEvent) => any;
onbeforepaste: (ev: DragEvent) => any;
ondragover: (ev: DragEvent) => any;
offsetTop: number;
onmouseup: (ev: MouseEvent) => any;
ondragstart: (ev: DragEvent) => any;
onbeforecopy: (ev: DragEvent) => any;
ondrag: (ev: DragEvent) => any;
innerHTML: string;
onmouseover: (ev: MouseEvent) => any;
lang: string;
uniqueNumber: number;
onpause: (ev: Event) => any;
tagUrn: string;
onmousedown: (ev: MouseEvent) => any;
onclick: (ev: MouseEvent) => any;
onwaiting: (ev: Event) => any;
onresizestart: (ev: MSEventObj) => any;
offsetLeft: number;
isTextEdit: boolean;
isDisabled: boolean;
onpaste: (ev: DragEvent) => any;
canHaveHTML: boolean;
onmoveend: (ev: MSEventObj) => any;
language: string;
onstalled: (ev: Event) => any;
onmousemove: (ev: MouseEvent) => any;
style: MSStyleCSSProperties;
isContentEditable: boolean;
onbeforeeditfocus: (ev: MSEventObj) => any;
onratechange: (ev: Event) => any;
contentEditable: string;
tabIndex: number;
document: Document;
onprogress: (ev: ProgressEvent) => any;
ondblclick: (ev: MouseEvent) => any;
oncontextmenu: (ev: MouseEvent) => any;
onloadedmetadata: (ev: Event) => any;
onafterupdate: (ev: MSEventObj) => any;
onerror: (ev: ErrorEvent) => any;
onplay: (ev: Event) => any;
onresizeend: (ev: MSEventObj) => any;
onplaying: (ev: Event) => any;
isMultiLine: boolean;
onfocusout: (ev: FocusEvent) => any;
onabort: (ev: UIEvent) => any;
ondataavailable: (ev: MSEventObj) => any;
hideFocus: boolean;
onreadystatechange: (ev: Event) => any;
onkeypress: (ev: KeyboardEvent) => any;
onloadeddata: (ev: Event) => any;
onbeforedeactivate: (ev: UIEvent) => any;
outerText: string;
disabled: boolean;
onactivate: (ev: UIEvent) => any;
accessKey: string;
onmovestart: (ev: MSEventObj) => any;
onselectstart: (ev: Event) => any;
onfocus: (ev: FocusEvent) => any;
ontimeupdate: (ev: Event) => any;
onresize: (ev: UIEvent) => any;
oncut: (ev: DragEvent) => any;
onselect: (ev: UIEvent) => any;
ondrop: (ev: DragEvent) => any;
offsetWidth: number;
oncopy: (ev: DragEvent) => any;
onended: (ev: Event) => any;
onscroll: (ev: UIEvent) => any;
onrowenter: (ev: MSEventObj) => any;
onload: (ev: Event) => any;
canHaveChildren: boolean;
oninput: (ev: Event) => any;
onmscontentzoom: (ev: MSEventObj) => any;
oncuechange: (ev: Event) => any;
spellcheck: boolean;
classList: DOMTokenList;
onmsmanipulationstatechanged: (ev: any) => any;
draggable: boolean;
dataset: DOMStringMap;
dragDrop(): boolean;
scrollIntoView(top?: boolean): void;
addFilter(filter: any): void;
setCapture(containerCapture?: boolean): void;
focus(): void;
getAdjacentText(where: string): string;
insertAdjacentText(where: string, text: string): void;
getElementsByClassName(classNames: string): NodeList;
setActive(): void;
removeFilter(filter: any): void;
blur(): void;
clearAttributes(): void;
releaseCapture(): void;
createControlRange(): ControlRangeCollection;
removeBehavior(cookie: number): boolean;
contains(child: HTMLElement): boolean;
click(): void;
insertAdjacentElement(position: string, insertedElement: Element): Element;
mergeAttributes(source: HTMLElement, preserveIdentity?: boolean): void;
replaceAdjacentText(where: string, newText: string): string;
applyElement(apply: Element, where?: string): Element;
addBehavior(bstrUrl: string, factory?: any): number;
insertAdjacentHTML(where: string, html: string): void;
msGetInputContext(): MSInputMethodContext;
addEventListener(type: "pointerenter", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerout", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerdown", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerup", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointercancel", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerover", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointermove", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerleave", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerdown", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgotpointercapture", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturedoubletap", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerhover", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturehold", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointermove", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturechange", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturestart", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointercancel", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgestureend", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturetap", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerout", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msinertiastart", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mslostpointercapture", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerover", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerup", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "lostpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerenter", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "gotpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerleave", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mouseleave", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "beforecut", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "move", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "help", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "deactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "datasetchanged", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "rowsdelete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "losecapture", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "controlselect", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "layoutcomplete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "beforeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "beforeupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "filterchange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "datasetcomplete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mouseenter", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "errorupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;
addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "cellchange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "rowexit", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "rowsinserted", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "propertychange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "beforepaste", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "beforecopy", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "resizestart", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "paste", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "moveend", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "beforeeditfocus", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "contextmenu", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "afterupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "resizeend", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dataavailable", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "beforedeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "activate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "movestart", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "selectstart", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "cut", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "copy", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "rowenter", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mscontentzoom", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "cuechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "msmanipulationstatechanged", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListener, useCapture?: boolean): void;
}
declare var HTMLElement: {
prototype: HTMLElement;
new(): HTMLElement;
}
interface Document extends Node, NodeSelector, MSEventAttachmentTarget, DocumentEvent, MSResourceMetadata, MSNodeExtensions, MSDocumentExtensions, GlobalEventHandlers {
/**
* Gets a reference to the root node of the document.
*/
documentElement: HTMLElement;
/**
* Retrieves the collection of user agents and versions declared in the X-UA-Compatible
*/
compatible: MSCompatibleInfoCollection;
/**
* Fires when the user presses a key.
* @param ev The keyboard event
*/
onkeydown: (ev: KeyboardEvent) => any;
/**
* Fires when the user releases a key.
* @param ev The keyboard event
*/
onkeyup: (ev: KeyboardEvent) => any;
/**
* Gets the implementation object of the current document.
*/
implementation: DOMImplementation;
/**
* Fires when the user resets a form.
* @param ev The event.
*/
onreset: (ev: Event) => any;
/**
* Retrieves a collection of all script objects in the document.
*/
scripts: HTMLCollection;
/**
* Fires when the user presses the F1 key while the browser is the active window.
* @param ev The event.
*/
onhelp: (ev: Event) => any;
/**
* Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
* @param ev The drag event.
*/
ondragleave: (ev: DragEvent) => any;
/**
* Gets or sets the character set used to encode the object.
*/
charset: string;
/**
* Fires for an element just prior to setting focus on that element.
* @param ev The focus event
*/
onfocusin: (ev: FocusEvent) => any;
/**
* Sets or gets the color of the links that the user has visited.
*/
vlinkColor: string;
/**
* Occurs when the seek operation ends.
* @param ev The event.
*/
onseeked: (ev: Event) => any;
security: string;
/**
* Contains the title of the document.
*/
title: string;
/**
* Retrieves a collection of namespace objects.
*/
namespaces: MSNamespaceInfoCollection;
/**
* Gets the default character set from the current regional language settings.
*/
defaultCharset: string;
/**
* Retrieves a collection of all embed objects in the document.
*/
embeds: HTMLCollection;
/**
* Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.
*/
styleSheets: StyleSheetList;
/**
* Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window.
*/
frames: Window;
/**
* Occurs when the duration attribute is updated.
* @param ev The event.
*/
ondurationchange: (ev: Event) => any;
/**
* Returns a reference to the collection of elements contained by the object.
*/
all: HTMLCollection;
/**
* Retrieves a collection, in source order, of all form objects in the document.
*/
forms: HTMLCollection;
/**
* Fires when the object loses the input focus.
* @param ev The focus event.
*/
onblur: (ev: FocusEvent) => any;
/**
* Sets or retrieves a value that indicates the reading order of the object.
*/
dir: string;
/**
* Occurs when the media element is reset to its initial state.
* @param ev The event.
*/
onemptied: (ev: Event) => any;
/**
* Sets or gets a value that indicates whether the document can be edited.
*/
designMode: string;
/**
* Occurs when the current playback position is moved.
* @param ev The event.
*/
onseeking: (ev: Event) => any;
/**
* Fires when the activeElement is changed from the current object to another object in the parent document.
* @param ev The UI Event
*/
ondeactivate: (ev: UIEvent) => any;
/**
* Occurs when playback is possible, but would require further buffering.
* @param ev The event.
*/
oncanplay: (ev: Event) => any;
/**
* Fires when the data set exposed by a data source object changes.
* @param ev The event.
*/
ondatasetchanged: (ev: MSEventObj) => any;
/**
* Fires when rows are about to be deleted from the recordset.
* @param ev The event
*/
onrowsdelete: (ev: MSEventObj) => any;
Script: MSScriptHost;
/**
* Occurs when Internet Explorer begins looking for media data.
* @param ev The event.
*/
onloadstart: (ev: Event) => any;
/**
* Gets the URL for the document, stripped of any character encoding.
*/
URLUnencoded: string;
defaultView: Window;
/**
* Fires when the user is about to make a control selection of the object.
* @param ev The event.
*/
oncontrolselect: (ev: MSEventObj) => any;
/**
* Fires on the target element when the user drags the object to a valid drop target.
* @param ev The drag event.
*/
ondragenter: (ev: DragEvent) => any;
onsubmit: (ev: Event) => any;
/**
* Returns the character encoding used to create the webpage that is loaded into the document object.
*/
inputEncoding: string;
/**
* Gets the object that has the focus when the parent document has focus.
*/
activeElement: Element;
/**
* Fires when the contents of the object or selection have changed.
* @param ev The event.
*/
onchange: (ev: Event) => any;
/**
* Retrieves a collection of all a objects that specify the href property and all area objects in the document.
*/
links: HTMLCollection;
/**
* Retrieves an autogenerated, unique identifier for the object.
*/
uniqueID: string;
/**
* Sets or gets the URL for the current document.
*/
URL: string;
/**
* Fires immediately before the object is set as the active element.
* @param ev The event.
*/
onbeforeactivate: (ev: UIEvent) => any;
head: HTMLHeadElement;
cookie: string;
xmlEncoding: string;
oncanplaythrough: (ev: Event) => any;
/**
* Retrieves the document compatibility mode of the document.
*/
documentMode: number;
characterSet: string;
/**
* Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.
*/
anchors: HTMLCollection;
onbeforeupdate: (ev: MSEventObj) => any;
/**
* Fires to indicate that all data is available from the data source object.
* @param ev The event.
*/
ondatasetcomplete: (ev: MSEventObj) => any;
plugins: HTMLCollection;
/**
* Occurs if the load operation has been intentionally halted.
* @param ev The event.
*/
onsuspend: (ev: Event) => any;
/**
* Gets the root svg element in the document hierarchy.
*/
rootElement: SVGSVGElement;
/**
* Retrieves a value that indicates the current state of the object.
*/
readyState: string;
/**
* Gets the URL of the location that referred the user to the current page.
*/
referrer: string;
/**
* Sets or gets the color of all active links in the document.
*/
alinkColor: string;
/**
* Fires on a databound object when an error occurs while updating the associated data in the data source object.
* @param ev The event.
*/
onerrorupdate: (ev: MSEventObj) => any;
/**
* Gets a reference to the container object of the window.
*/
parentWindow: Window;
/**
* Fires when the user moves the mouse pointer outside the boundaries of the object.
* @param ev The mouse event.
*/
onmouseout: (ev: MouseEvent) => any;
/**
* Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.
* @param ev The event.
*/
onmsthumbnailclick: (ev: MSSiteModeEvent) => any;
/**
* Fires when the wheel button is rotated.
* @param ev The mouse event
*/
onmousewheel: (ev: MouseWheelEvent) => any;
/**
* Occurs when the volume is changed, or playback is muted or unmuted.
* @param ev The event.
*/
onvolumechange: (ev: Event) => any;
/**
* Fires when data changes in the data provider.
* @param ev The event.
*/
oncellchange: (ev: MSEventObj) => any;
/**
* Fires just before the data source control changes the current row in the object.
* @param ev The event.
*/
onrowexit: (ev: MSEventObj) => any;
/**
* Fires just after new rows are inserted in the current recordset.
* @param ev The event.
*/
onrowsinserted: (ev: MSEventObj) => any;
/**
* Gets or sets the version attribute specified in the declaration of an XML document.
*/
xmlVersion: string;
msCapsLockWarningOff: boolean;
/**
* Fires when a property changes on the object.
* @param ev The event.
*/
onpropertychange: (ev: MSEventObj) => any;
/**
* Fires on the source object when the user releases the mouse at the close of a drag operation.
* @param ev The event.
*/
ondragend: (ev: DragEvent) => any;
/**
* Gets an object representing the document type declaration associated with the current document.
*/
doctype: DocumentType;
/**
* Fires on the target element continuously while the user drags the object over a valid drop target.
* @param ev The event.
*/
ondragover: (ev: DragEvent) => any;
/**
* Deprecated. Sets or retrieves a value that indicates the background color behind the object.
*/
bgColor: string;
/**
* Fires on the source object when the user starts to drag a text selection or selected object.
* @param ev The event.
*/
ondragstart: (ev: DragEvent) => any;
/**
* Fires when the user releases a mouse button while the mouse is over the object.
* @param ev The mouse event.
*/
onmouseup: (ev: MouseEvent) => any;
/**
* Fires on the source object continuously during a drag operation.
* @param ev The event.
*/
ondrag: (ev: DragEvent) => any;
/**
* Fires when the user moves the mouse pointer into the object.
* @param ev The mouse event.
*/
onmouseover: (ev: MouseEvent) => any;
/**
* Sets or gets the color of the document links.
*/
linkColor: string;
/**
* Occurs when playback is paused.
* @param ev The event.
*/
onpause: (ev: Event) => any;
/**
* Fires when the user clicks the object with either mouse button.
* @param ev The mouse event.
*/
onmousedown: (ev: MouseEvent) => any;
/**
* Fires when the user clicks the left mouse button on the object
* @param ev The mouse event.
*/
onclick: (ev: MouseEvent) => any;
/**
* Occurs when playback stops because the next frame of a video resource is not available.
* @param ev The event.
*/
onwaiting: (ev: Event) => any;
/**
* Fires when the user clicks the Stop button or leaves the Web page.
* @param ev The event.
*/
onstop: (ev: Event) => any;
/**
* Occurs when an item is removed from a Jump List of a webpage running in Site Mode.
* @param ev The event.
*/
onmssitemodejumplistitemremoved: (ev: MSSiteModeEvent) => any;
/**
* Retrieves a collection of all applet objects in the document.
*/
applets: HTMLCollection;
/**
* Specifies the beginning and end of the document body.
*/
body: HTMLElement;
/**
* Sets or gets the security domain of the document.
*/
domain: string;
xmlStandalone: boolean;
/**
* Represents the active selection, which is a highlighted block of text or other elements in the document that a user or a script can carry out some action on.
*/
selection: MSSelection;
/**
* Occurs when the download has stopped.
* @param ev The event.
*/
onstalled: (ev: Event) => any;
/**
* Fires when the user moves the mouse over the object.
* @param ev The mouse event.
*/
onmousemove: (ev: MouseEvent) => any;
/**
* Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.
* @param ev The event.
*/
onbeforeeditfocus: (ev: MSEventObj) => any;
/**
* Occurs when the playback rate is increased or decreased.
* @param ev The event.
*/
onratechange: (ev: Event) => any;
/**
* Occurs to indicate progress while downloading media data.
* @param ev The event.
*/
onprogress: (ev: ProgressEvent) => any;
/**
* Fires when the user double-clicks the object.
* @param ev The mouse event.
*/
ondblclick: (ev: MouseEvent) => any;
/**
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
* @param ev The mouse event.
*/
oncontextmenu: (ev: MouseEvent) => any;
/**
* Occurs when the duration and dimensions of the media have been determined.
* @param ev The event.
*/
onloadedmetadata: (ev: Event) => any;
media: string;
/**
* Fires when an error occurs during object loading.
* @param ev The event.
*/
onerror: (ev: ErrorEvent) => any;
/**
* Occurs when the play method is requested.
* @param ev The event.
*/
onplay: (ev: Event) => any;
onafterupdate: (ev: MSEventObj) => any;
/**
* Occurs when the audio or video has started playing.
* @param ev The event.
*/
onplaying: (ev: Event) => any;
/**
* Retrieves a collection, in source order, of img objects in the document.
*/
images: HTMLCollection;
/**
* Contains information about the current URL.
*/
location: Location;
/**
* Fires when the user aborts the download.
* @param ev The event.
*/
onabort: (ev: UIEvent) => any;
/**
* Fires for the current element with focus immediately after moving focus to another element.
* @param ev The event.
*/
onfocusout: (ev: FocusEvent) => any;
/**
* Fires when the selection state of a document changes.
* @param ev The event.
*/
onselectionchange: (ev: Event) => any;
/**
* Fires when a local DOM Storage area is written to disk.
* @param ev The event.
*/
onstoragecommit: (ev: StorageEvent) => any;
/**
* Fires periodically as data arrives from data source objects that asynchronously transmit their data.
* @param ev The event.
*/
ondataavailable: (ev: MSEventObj) => any;
/**
* Fires when the state of the object has changed.
* @param ev The event
*/
onreadystatechange: (ev: Event) => any;
/**
* Gets the date that the page was last modified, if the page supplies one.
*/
lastModified: string;
/**
* Fires when the user presses an alphanumeric key.
* @param ev The event.
*/
onkeypress: (ev: KeyboardEvent) => any;
/**
* Occurs when media data is loaded at the current playback position.
* @param ev The event.
*/
onloadeddata: (ev: Event) => any;
/**
* Fires immediately before the activeElement is changed from the current object to another object in the parent document.
* @param ev The event.
*/
onbeforedeactivate: (ev: UIEvent) => any;
/**
* Fires when the object is set as the active element.
* @param ev The event.
*/
onactivate: (ev: UIEvent) => any;
onselectstart: (ev: Event) => any;
/**
* Fires when the object receives focus.
* @param ev The event.
*/
onfocus: (ev: FocusEvent) => any;
/**
* Sets or gets the foreground (text) color of the document.
*/
fgColor: string;
/**
* Occurs to indicate the current playback position.
* @param ev The event.
*/
ontimeupdate: (ev: Event) => any;
/**
* Fires when the current selection changes.
* @param ev The event.
*/
onselect: (ev: UIEvent) => any;
ondrop: (ev: DragEvent) => any;
/**
* Occurs when the end of playback is reached.
* @param ev The event
*/
onended: (ev: Event) => any;
/**
* Gets a value that indicates whether standards-compliant mode is switched on for the object.
*/
compatMode: string;
/**
* Fires when the user repositions the scroll box in the scroll bar on the object.
* @param ev The event.
*/
onscroll: (ev: UIEvent) => any;
/**
* Fires to indicate that the current row has changed in the data source and new data values are available on the object.
* @param ev The event.
*/
onrowenter: (ev: MSEventObj) => any;
/**
* Fires immediately after the browser loads the object.
* @param ev The event.
*/
onload: (ev: Event) => any;
oninput: (ev: Event) => any;
onmspointerdown: (ev: any) => any;
msHidden: boolean;
msVisibilityState: string;
onmsgesturedoubletap: (ev: any) => any;
visibilityState: string;
onmsmanipulationstatechanged: (ev: any) => any;
onmspointerhover: (ev: any) => any;
onmscontentzoom: (ev: MSEventObj) => any;
onmspointermove: (ev: any) => any;
onmsgesturehold: (ev: any) => any;
onmsgesturechange: (ev: any) => any;
onmsgesturestart: (ev: any) => any;
onmspointercancel: (ev: any) => any;
onmsgestureend: (ev: any) => any;
onmsgesturetap: (ev: any) => any;
onmspointerout: (ev: any) => any;
onmsinertiastart: (ev: any) => any;
msCSSOMElementFloatMetrics: boolean;
onmspointerover: (ev: any) => any;
hidden: boolean;
onmspointerup: (ev: any) => any;
msFullscreenEnabled: boolean;
onmsfullscreenerror: (ev: any) => any;
onmspointerenter: (ev: any) => any;
msFullscreenElement: Element;
onmsfullscreenchange: (ev: any) => any;
onmspointerleave: (ev: any) => any;
/**
* Returns a reference to the first object with the specified value of the ID or NAME attribute.
* @param elementId String that specifies the ID value. Case-insensitive.
*/
getElementById(elementId: string): HTMLElement;
/**
* Returns the current value of the document, range, or current selection for the given command.
* @param commandId String that specifies a command identifier.
*/
queryCommandValue(commandId: string): string;
adoptNode(source: Node): Node;
/**
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
* @param commandId String that specifies a command identifier.
*/
queryCommandIndeterm(commandId: string): boolean;
getElementsByTagNameNS(namespaceURI: string, localName: string): NodeList;
createProcessingInstruction(target: string, data: string): ProcessingInstruction;
/**
* Executes a command on the current document, current selection, or the given range.
* @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
* @param showUI Display the user interface, defaults to false.
* @param value Value to assign.
*/
execCommand(commandId: string, showUI?: boolean, value?: any): boolean;
/**
* Returns the element for the specified x coordinate and the specified y coordinate.
* @param x The x-offset
* @param y The y-offset
*/
elementFromPoint(x: number, y: number): Element;
createCDATASection(data: string): CDATASection;
/**
* Retrieves the string associated with a command.
* @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.
*/
queryCommandText(commandId: string): string;
/**
* Writes one or more HTML expressions to a document in the specified window.
* @param content Specifies the text and HTML tags to write.
*/
write(...content: string[]): void;
/**
* Allows updating the print settings for the page.
*/
updateSettings(): void;
/**
* Creates an instance of the element for the specified tag.
* @param tagName The name of an element.
*/
createElement(tagName: "a"): HTMLAnchorElement;
createElement(tagName: "abbr"): HTMLPhraseElement;
createElement(tagName: "acronym"): HTMLPhraseElement;
createElement(tagName: "address"): HTMLBlockElement;
createElement(tagName: "applet"): HTMLAppletElement;
createElement(tagName: "area"): HTMLAreaElement;
createElement(tagName: "article"): HTMLElement;
createElement(tagName: "aside"): HTMLElement;
createElement(tagName: "audio"): HTMLAudioElement;
createElement(tagName: "b"): HTMLPhraseElement;
createElement(tagName: "base"): HTMLBaseElement;
createElement(tagName: "basefont"): HTMLBaseFontElement;
createElement(tagName: "bdo"): HTMLPhraseElement;
createElement(tagName: "bgsound"): HTMLBGSoundElement;
createElement(tagName: "big"): HTMLPhraseElement;
createElement(tagName: "blockquote"): HTMLBlockElement;
createElement(tagName: "body"): HTMLBodyElement;
createElement(tagName: "br"): HTMLBRElement;
createElement(tagName: "button"): HTMLButtonElement;
createElement(tagName: "canvas"): HTMLCanvasElement;
createElement(tagName: "caption"): HTMLTableCaptionElement;
createElement(tagName: "center"): HTMLBlockElement;
createElement(tagName: "cite"): HTMLPhraseElement;
createElement(tagName: "code"): HTMLPhraseElement;
createElement(tagName: "col"): HTMLTableColElement;
createElement(tagName: "colgroup"): HTMLTableColElement;
createElement(tagName: "datalist"): HTMLDataListElement;
createElement(tagName: "dd"): HTMLDDElement;
createElement(tagName: "del"): HTMLModElement;
createElement(tagName: "dfn"): HTMLPhraseElement;
createElement(tagName: "dir"): HTMLDirectoryElement;
createElement(tagName: "div"): HTMLDivElement;
createElement(tagName: "dl"): HTMLDListElement;
createElement(tagName: "dt"): HTMLDTElement;
createElement(tagName: "em"): HTMLPhraseElement;
createElement(tagName: "embed"): HTMLEmbedElement;
createElement(tagName: "fieldset"): HTMLFieldSetElement;
createElement(tagName: "figcaption"): HTMLElement;
createElement(tagName: "figure"): HTMLElement;
createElement(tagName: "font"): HTMLFontElement;
createElement(tagName: "footer"): HTMLElement;
createElement(tagName: "form"): HTMLFormElement;
createElement(tagName: "frame"): HTMLFrameElement;
createElement(tagName: "frameset"): HTMLFrameSetElement;
createElement(tagName: "h1"): HTMLHeadingElement;
createElement(tagName: "h2"): HTMLHeadingElement;
createElement(tagName: "h3"): HTMLHeadingElement;
createElement(tagName: "h4"): HTMLHeadingElement;
createElement(tagName: "h5"): HTMLHeadingElement;
createElement(tagName: "h6"): HTMLHeadingElement;
createElement(tagName: "head"): HTMLHeadElement;
createElement(tagName: "header"): HTMLElement;
createElement(tagName: "hgroup"): HTMLElement;
createElement(tagName: "hr"): HTMLHRElement;
createElement(tagName: "html"): HTMLHtmlElement;
createElement(tagName: "i"): HTMLPhraseElement;
createElement(tagName: "iframe"): HTMLIFrameElement;
createElement(tagName: "img"): HTMLImageElement;
createElement(tagName: "input"): HTMLInputElement;
createElement(tagName: "ins"): HTMLModElement;
createElement(tagName: "isindex"): HTMLIsIndexElement;
createElement(tagName: "kbd"): HTMLPhraseElement;
createElement(tagName: "keygen"): HTMLBlockElement;
createElement(tagName: "label"): HTMLLabelElement;
createElement(tagName: "legend"): HTMLLegendElement;
createElement(tagName: "li"): HTMLLIElement;
createElement(tagName: "link"): HTMLLinkElement;
createElement(tagName: "listing"): HTMLBlockElement;
createElement(tagName: "map"): HTMLMapElement;
createElement(tagName: "mark"): HTMLElement;
createElement(tagName: "marquee"): HTMLMarqueeElement;
createElement(tagName: "menu"): HTMLMenuElement;
createElement(tagName: "meta"): HTMLMetaElement;
createElement(tagName: "nav"): HTMLElement;
createElement(tagName: "nextid"): HTMLNextIdElement;
createElement(tagName: "nobr"): HTMLPhraseElement;
createElement(tagName: "noframes"): HTMLElement;
createElement(tagName: "noscript"): HTMLElement;
createElement(tagName: "object"): HTMLObjectElement;
createElement(tagName: "ol"): HTMLOListElement;
createElement(tagName: "optgroup"): HTMLOptGroupElement;
createElement(tagName: "option"): HTMLOptionElement;
createElement(tagName: "p"): HTMLParagraphElement;
createElement(tagName: "param"): HTMLParamElement;
createElement(tagName: "plaintext"): HTMLBlockElement;
createElement(tagName: "pre"): HTMLPreElement;
createElement(tagName: "progress"): HTMLProgressElement;
createElement(tagName: "q"): HTMLQuoteElement;
createElement(tagName: "rt"): HTMLPhraseElement;
createElement(tagName: "ruby"): HTMLPhraseElement;
createElement(tagName: "s"): HTMLPhraseElement;
createElement(tagName: "samp"): HTMLPhraseElement;
createElement(tagName: "script"): HTMLScriptElement;
createElement(tagName: "section"): HTMLElement;
createElement(tagName: "select"): HTMLSelectElement;
createElement(tagName: "small"): HTMLPhraseElement;
createElement(tagName: "SOURCE"): HTMLSourceElement;
createElement(tagName: "span"): HTMLSpanElement;
createElement(tagName: "strike"): HTMLPhraseElement;
createElement(tagName: "strong"): HTMLPhraseElement;
createElement(tagName: "style"): HTMLStyleElement;
createElement(tagName: "sub"): HTMLPhraseElement;
createElement(tagName: "sup"): HTMLPhraseElement;
createElement(tagName: "table"): HTMLTableElement;
createElement(tagName: "tbody"): HTMLTableSectionElement;
createElement(tagName: "td"): HTMLTableDataCellElement;
createElement(tagName: "textarea"): HTMLTextAreaElement;
createElement(tagName: "tfoot"): HTMLTableSectionElement;
createElement(tagName: "th"): HTMLTableHeaderCellElement;
createElement(tagName: "thead"): HTMLTableSectionElement;
createElement(tagName: "title"): HTMLTitleElement;
createElement(tagName: "tr"): HTMLTableRowElement;
createElement(tagName: "track"): HTMLTrackElement;
createElement(tagName: "tt"): HTMLPhraseElement;
createElement(tagName: "u"): HTMLPhraseElement;
createElement(tagName: "ul"): HTMLUListElement;
createElement(tagName: "var"): HTMLPhraseElement;
createElement(tagName: "video"): HTMLVideoElement;
createElement(tagName: "wbr"): HTMLElement;
createElement(tagName: "x-ms-webview"): MSHTMLWebViewElement;
createElement(tagName: "xmp"): HTMLBlockElement;
createElement(tagName: string): HTMLElement;
/**
* Removes mouse capture from the object in the current document.
*/
releaseCapture(): void;
/**
* Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.
* @param content The text and HTML tags to write.
*/
writeln(...content: string[]): void;
createElementNS(namespaceURI: string, qualifiedName: string): Element;
/**
* Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.
* @param url Specifies a MIME type for the document.
* @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.
* @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported.
* @param replace Specifies whether the existing entry for the document is replaced in the history list.
*/
open(url?: string, name?: string, features?: string, replace?: boolean): any;
/**
* Returns a Boolean value that indicates whether the current command is supported on the current range.
* @param commandId Specifies a command identifier.
*/
queryCommandSupported(commandId: string): boolean;
/**
* Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.
* @param root The root element or node to start traversing on.
* @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.
* @param filter A custom NodeFilter function to use.
* @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.
*/
createTreeWalker(root: Node, whatToShow: number, filter: NodeFilter, entityReferenceExpansion: boolean): TreeWalker;
createAttributeNS(namespaceURI: string, qualifiedName: string): Attr;
/**
* Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.
* @param commandId Specifies a command identifier.
*/
queryCommandEnabled(commandId: string): boolean;
/**
* Causes the element to receive the focus and executes the code specified by the onfocus event.
*/
focus(): void;
/**
* Closes an output stream and forces the sent data to display.
*/
close(): void;
getElementsByClassName(classNames: string): NodeList;
importNode(importedNode: Node, deep: boolean): Node;
/**
* Returns an empty range object that has both of its boundary points positioned at the beginning of the document.
*/
createRange(): Range;
/**
* Fires a specified event on the object.
* @param eventName Specifies the name of the event to fire.
* @param eventObj Object that specifies the event object from which to obtain event object properties.
*/
fireEvent(eventName: string, eventObj?: any): boolean;
/**
* Creates a comment object with the specified data.
* @param data Sets the comment object's data.
*/
createComment(data: string): Comment;
/**
* Retrieves a collection of objects based on the specified element name.
* @param name Specifies the name of an element.
*/
getElementsByTagName(name: "a"): NodeListOf;
getElementsByTagName(name: "abbr"): NodeListOf;
getElementsByTagName(name: "acronym"): NodeListOf;
getElementsByTagName(name: "address"): NodeListOf;
getElementsByTagName(name: "applet"): NodeListOf;
getElementsByTagName(name: "area"): NodeListOf;
getElementsByTagName(name: "article"): NodeListOf;
getElementsByTagName(name: "aside"): NodeListOf;
getElementsByTagName(name: "audio"): NodeListOf;
getElementsByTagName(name: "b"): NodeListOf;
getElementsByTagName(name: "base"): NodeListOf;
getElementsByTagName(name: "basefont"): NodeListOf;
getElementsByTagName(name: "bdo"): NodeListOf;
getElementsByTagName(name: "bgsound"): NodeListOf;
getElementsByTagName(name: "big"): NodeListOf;
getElementsByTagName(name: "blockquote"): NodeListOf;
getElementsByTagName(name: "body"): NodeListOf;
getElementsByTagName(name: "br"): NodeListOf;
getElementsByTagName(name: "button"): NodeListOf;
getElementsByTagName(name: "canvas"): NodeListOf;
getElementsByTagName(name: "caption"): NodeListOf;
getElementsByTagName(name: "center"): NodeListOf;
getElementsByTagName(name: "cite"): NodeListOf;
getElementsByTagName(name: "code"): NodeListOf;
getElementsByTagName(name: "col"): NodeListOf;
getElementsByTagName(name: "colgroup"): NodeListOf;
getElementsByTagName(name: "datalist"): NodeListOf;
getElementsByTagName(name: "dd"): NodeListOf;
getElementsByTagName(name: "del"): NodeListOf;
getElementsByTagName(name: "dfn"): NodeListOf;
getElementsByTagName(name: "dir"): NodeListOf;
getElementsByTagName(name: "div"): NodeListOf;
getElementsByTagName(name: "dl"): NodeListOf;
getElementsByTagName(name: "dt"): NodeListOf;
getElementsByTagName(name: "em"): NodeListOf;
getElementsByTagName(name: "embed"): NodeListOf;
getElementsByTagName(name: "fieldset"): NodeListOf;
getElementsByTagName(name: "figcaption"): NodeListOf;
getElementsByTagName(name: "figure"): NodeListOf;
getElementsByTagName(name: "font"): NodeListOf;
getElementsByTagName(name: "footer"): NodeListOf;
getElementsByTagName(name: "form"): NodeListOf;
getElementsByTagName(name: "frame"): NodeListOf;
getElementsByTagName(name: "frameset"): NodeListOf;
getElementsByTagName(name: "h1"): NodeListOf;
getElementsByTagName(name: "h2"): NodeListOf;
getElementsByTagName(name: "h3"): NodeListOf;
getElementsByTagName(name: "h4"): NodeListOf;
getElementsByTagName(name: "h5"): NodeListOf;
getElementsByTagName(name: "h6"): NodeListOf;
getElementsByTagName(name: "head"): NodeListOf;
getElementsByTagName(name: "header"): NodeListOf;
getElementsByTagName(name: "hgroup"): NodeListOf;
getElementsByTagName(name: "hr"): NodeListOf;
getElementsByTagName(name: "html"): NodeListOf;
getElementsByTagName(name: "i"): NodeListOf;
getElementsByTagName(name: "iframe"): NodeListOf;
getElementsByTagName(name: "img"): NodeListOf;
getElementsByTagName(name: "input"): NodeListOf;
getElementsByTagName(name: "ins"): NodeListOf;
getElementsByTagName(name: "isindex"): NodeListOf;
getElementsByTagName(name: "kbd"): NodeListOf;
getElementsByTagName(name: "keygen"): NodeListOf;
getElementsByTagName(name: "label"): NodeListOf;
getElementsByTagName(name: "legend"): NodeListOf;
getElementsByTagName(name: "li"): NodeListOf;
getElementsByTagName(name: "link"): NodeListOf;
getElementsByTagName(name: "listing"): NodeListOf;
getElementsByTagName(name: "map"): NodeListOf;
getElementsByTagName(name: "mark"): NodeListOf;
getElementsByTagName(name: "marquee"): NodeListOf;
getElementsByTagName(name: "menu"): NodeListOf;
getElementsByTagName(name: "meta"): NodeListOf;
getElementsByTagName(name: "nav"): NodeListOf;
getElementsByTagName(name: "nextid"): NodeListOf;
getElementsByTagName(name: "nobr"): NodeListOf;
getElementsByTagName(name: "noframes"): NodeListOf;
getElementsByTagName(name: "noscript"): NodeListOf;
getElementsByTagName(name: "object"): NodeListOf;
getElementsByTagName(name: "ol"): NodeListOf;
getElementsByTagName(name: "optgroup"): NodeListOf;
getElementsByTagName(name: "option"): NodeListOf;
getElementsByTagName(name: "p"): NodeListOf;
getElementsByTagName(name: "param"): NodeListOf;
getElementsByTagName(name: "plaintext"): NodeListOf;
getElementsByTagName(name: "pre"): NodeListOf;
getElementsByTagName(name: "progress"): NodeListOf;
getElementsByTagName(name: "q"): NodeListOf;
getElementsByTagName(name: "rt"): NodeListOf;
getElementsByTagName(name: "ruby"): NodeListOf;
getElementsByTagName(name: "s"): NodeListOf;
getElementsByTagName(name: "samp"): NodeListOf;
getElementsByTagName(name: "script"): NodeListOf;
getElementsByTagName(name: "section"): NodeListOf;
getElementsByTagName(name: "select"): NodeListOf;
getElementsByTagName(name: "small"): NodeListOf;
getElementsByTagName(name: "SOURCE"): NodeListOf;
getElementsByTagName(name: "span"): NodeListOf;
getElementsByTagName(name: "strike"): NodeListOf;
getElementsByTagName(name: "strong"): NodeListOf;
getElementsByTagName(name: "style"): NodeListOf;
getElementsByTagName(name: "sub"): NodeListOf;
getElementsByTagName(name: "sup"): NodeListOf;
getElementsByTagName(name: "table"): NodeListOf;
getElementsByTagName(name: "tbody"): NodeListOf;
getElementsByTagName(name: "td"): NodeListOf;
getElementsByTagName(name: "textarea"): NodeListOf;
getElementsByTagName(name: "tfoot"): NodeListOf;
getElementsByTagName(name: "th"): NodeListOf;
getElementsByTagName(name: "thead"): NodeListOf;
getElementsByTagName(name: "title"): NodeListOf;
getElementsByTagName(name: "tr"): NodeListOf;
getElementsByTagName(name: "track"): NodeListOf;
getElementsByTagName(name: "tt"): NodeListOf;
getElementsByTagName(name: "u"): NodeListOf;
getElementsByTagName(name: "ul"): NodeListOf;
getElementsByTagName(name: "var"): NodeListOf;
getElementsByTagName(name: "video"): NodeListOf;
getElementsByTagName(name: "wbr"): NodeListOf;
getElementsByTagName(name: "x-ms-webview"): NodeListOf;
getElementsByTagName(name: "xmp"): NodeListOf;
getElementsByTagName(name: string): NodeList;
/**
* Creates a new document.
*/
createDocumentFragment(): DocumentFragment;
/**
* Creates a style sheet for the document.
* @param href Specifies how to add the style sheet to the document. If a file name is specified for the URL, the style information is added as a link object. If the URL contains style information, it is added to the style object.
* @param index Specifies the index that indicates where the new style sheet is inserted in the styleSheets collection. The default is to insert the new style sheet at the end of the collection.
*/
createStyleSheet(href?: string, index?: number): CSSStyleSheet;
/**
* Gets a collection of objects based on the value of the NAME or ID attribute.
* @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.
*/
getElementsByName(elementName: string): NodeList;
/**
* Returns a Boolean value that indicates the current state of the command.
* @param commandId String that specifies a command identifier.
*/
queryCommandState(commandId: string): boolean;
/**
* Gets a value indicating whether the object currently has focus.
*/
hasFocus(): boolean;
/**
* Displays help information for the given command identifier.
* @param commandId Displays help information for the given command identifier.
*/
execCommandShowHelp(commandId: string): boolean;
/**
* Creates an attribute object with a specified name.
* @param name String that sets the attribute object's name.
*/
createAttribute(name: string): Attr;
/**
* Creates a text string from the specified value.
* @param data String that specifies the nodeValue property of the text node.
*/
createTextNode(data: string): Text;
/**
* Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.
* @param root The root element or node to start traversing on.
* @param whatToShow The type of nodes or elements to appear in the node list
* @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.
* @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.
*/
createNodeIterator(root: Node, whatToShow: number, filter: NodeFilter, entityReferenceExpansion: boolean): NodeIterator;
/**
* Generates an event object to pass event context information when you use the fireEvent method.
* @param eventObj An object that specifies an existing event object on which to base the new object.
*/
createEventObject(eventObj?: any): MSEventObj;
/**
* Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.
*/
getSelection(): Selection;
msElementsFromPoint(x: number, y: number): NodeList;
msElementsFromRect(left: number, top: number, width: number, height: number): NodeList;
clear(): void;
msExitFullscreen(): void;
addEventListener(type: "pointerenter", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerout", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerdown", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerup", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointercancel", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerover", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointermove", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerleave", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "help", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "deactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "datasetchanged", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "rowsdelete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "controlselect", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "beforeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "beforeupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "datasetcomplete", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "errorupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "msthumbnailclick", listener: (ev: MSSiteModeEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;
addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "cellchange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "rowexit", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "rowsinserted", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "propertychange", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "stop", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mssitemodejumplistitemremoved", listener: (ev: MSSiteModeEvent) => any, useCapture?: boolean): void;
addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "beforeeditfocus", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "contextmenu", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): void;
addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "afterupdate", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "selectionchange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "storagecommit", listener: (ev: StorageEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dataavailable", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "beforedeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "activate", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "selectstart", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "rowenter", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerdown", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturedoubletap", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msmanipulationstatechanged", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerhover", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mscontentzoom", listener: (ev: MSEventObj) => any, useCapture?: boolean): void;
addEventListener(type: "mspointermove", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturehold", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturechange", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturestart", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointercancel", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgestureend", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturetap", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerout", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msinertiastart", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerover", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerup", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msfullscreenerror", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerenter", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msfullscreenchange", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerleave", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListener, useCapture?: boolean): void;
}
declare var Document: {
prototype: Document;
new(): Document;
}
interface Console {
info(message?: any, ...optionalParams: any[]): void;
warn(message?: any, ...optionalParams: any[]): void;
error(message?: any, ...optionalParams: any[]): void;
log(message?: any, ...optionalParams: any[]): void;
profile(reportName?: string): void;
assert(test?: boolean, message?: string, ...optionalParams: any[]): void;
msIsIndependentlyComposed(element: Element): boolean;
clear(): void;
dir(value?: any, ...optionalParams: any[]): void;
profileEnd(): void;
count(countTitle?: string): void;
groupEnd(): void;
time(timerName?: string): void;
timeEnd(timerName?: string): void;
trace(): void;
group(groupTitle?: string): void;
dirxml(value: any): void;
debug(message?: string, ...optionalParams: any[]): void;
groupCollapsed(groupTitle?: string): void;
select(element: Element): void;
}
declare var Console: {
prototype: Console;
new(): Console;
}
interface MSEventObj extends Event {
nextPage: string;
keyCode: number;
toElement: Element;
returnValue: any;
dataFld: string;
y: number;
dataTransfer: DataTransfer;
propertyName: string;
url: string;
offsetX: number;
recordset: any;
screenX: number;
buttonID: number;
wheelDelta: number;
reason: number;
origin: string;
data: string;
srcFilter: any;
boundElements: HTMLCollection;
cancelBubble: boolean;
altLeft: boolean;
behaviorCookie: number;
bookmarks: BookmarkCollection;
type: string;
repeat: boolean;
srcElement: Element;
source: Window;
fromElement: Element;
offsetY: number;
x: number;
behaviorPart: number;
qualifier: string;
altKey: boolean;
ctrlKey: boolean;
clientY: number;
shiftKey: boolean;
shiftLeft: boolean;
contentOverflow: boolean;
screenY: number;
ctrlLeft: boolean;
button: number;
srcUrn: string;
clientX: number;
actionURL: string;
getAttribute(strAttributeName: string, lFlags?: number): any;
setAttribute(strAttributeName: string, AttributeValue: any, lFlags?: number): void;
removeAttribute(strAttributeName: string, lFlags?: number): boolean;
}
declare var MSEventObj: {
prototype: MSEventObj;
new(): MSEventObj;
}
interface HTMLCanvasElement extends HTMLElement {
/**
* Gets or sets the width of a canvas element on a document.
*/
width: number;
/**
* Gets or sets the height of a canvas element on a document.
*/
height: number;
/**
* Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
* @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");
*/
getContext(contextId: "2d"): CanvasRenderingContext2D;
/**
* Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
* @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");
*/
getContext(contextId: "experimental-webgl"): WebGLRenderingContext;
/**
* Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
* @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");
*/
getContext(contextId: string, ...args: any[]): any;
/**
* Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.
* @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;
/**
* Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.
*/
msToBlob(): Blob;
}
declare var HTMLCanvasElement: {
prototype: HTMLCanvasElement;
new(): HTMLCanvasElement;
}
interface Window extends EventTarget, MSEventAttachmentTarget, WindowLocalStorage, MSWindowExtensions, WindowSessionStorage, WindowTimers, WindowBase64, IDBEnvironment, WindowConsole, GlobalEventHandlers {
ondragend: (ev: DragEvent) => any;
onkeydown: (ev: KeyboardEvent) => any;
ondragover: (ev: DragEvent) => any;
onkeyup: (ev: KeyboardEvent) => any;
onreset: (ev: Event) => any;
onmouseup: (ev: MouseEvent) => any;
ondragstart: (ev: DragEvent) => any;
ondrag: (ev: DragEvent) => any;
screenX: number;
onmouseover: (ev: MouseEvent) => any;
ondragleave: (ev: DragEvent) => any;
history: History;
pageXOffset: number;
name: string;
onafterprint: (ev: Event) => any;
onpause: (ev: Event) => any;
onbeforeprint: (ev: Event) => any;
top: Window;
onmousedown: (ev: MouseEvent) => any;
onseeked: (ev: Event) => any;
opener: Window;
onclick: (ev: MouseEvent) => any;
innerHeight: number;
onwaiting: (ev: Event) => any;
ononline: (ev: Event) => any;
ondurationchange: (ev: Event) => any;
frames: Window;
onblur: (ev: FocusEvent) => any;
onemptied: (ev: Event) => any;
onseeking: (ev: Event) => any;
oncanplay: (ev: Event) => any;
outerWidth: number;
onstalled: (ev: Event) => any;
onmousemove: (ev: MouseEvent) => any;
innerWidth: number;
onoffline: (ev: Event) => any;
length: number;
screen: Screen;
onbeforeunload: (ev: BeforeUnloadEvent) => any;
onratechange: (ev: Event) => any;
onstorage: (ev: StorageEvent) => any;
onloadstart: (ev: Event) => any;
ondragenter: (ev: DragEvent) => any;
onsubmit: (ev: Event) => any;
self: Window;
document: Document;
onprogress: (ev: ProgressEvent) => any;
ondblclick: (ev: MouseEvent) => any;
pageYOffset: number;
oncontextmenu: (ev: MouseEvent) => any;
onchange: (ev: Event) => any;
onloadedmetadata: (ev: Event) => any;
onplay: (ev: Event) => any;
onerror: ErrorEventHandler;
onplaying: (ev: Event) => any;
parent: Window;
location: Location;
oncanplaythrough: (ev: Event) => any;
onabort: (ev: UIEvent) => any;
onreadystatechange: (ev: Event) => any;
outerHeight: number;
onkeypress: (ev: KeyboardEvent) => any;
frameElement: Element;
onloadeddata: (ev: Event) => any;
onsuspend: (ev: Event) => any;
window: Window;
onfocus: (ev: FocusEvent) => any;
onmessage: (ev: MessageEvent) => any;
ontimeupdate: (ev: Event) => any;
onresize: (ev: UIEvent) => any;
onselect: (ev: UIEvent) => any;
navigator: Navigator;
styleMedia: StyleMedia;
ondrop: (ev: DragEvent) => any;
onmouseout: (ev: MouseEvent) => any;
onended: (ev: Event) => any;
onhashchange: (ev: Event) => any;
onunload: (ev: Event) => any;
onscroll: (ev: UIEvent) => any;
screenY: number;
onmousewheel: (ev: MouseWheelEvent) => any;
onload: (ev: Event) => any;
onvolumechange: (ev: Event) => any;
oninput: (ev: Event) => any;
performance: Performance;
onmspointerdown: (ev: any) => any;
animationStartTime: number;
onmsgesturedoubletap: (ev: any) => any;
onmspointerhover: (ev: any) => any;
onmsgesturehold: (ev: any) => any;
onmspointermove: (ev: any) => any;
onmsgesturechange: (ev: any) => any;
onmsgesturestart: (ev: any) => any;
onmspointercancel: (ev: any) => any;
onmsgestureend: (ev: any) => any;
onmsgesturetap: (ev: any) => any;
onmspointerout: (ev: any) => any;
msAnimationStartTime: number;
applicationCache: ApplicationCache;
onmsinertiastart: (ev: any) => any;
onmspointerover: (ev: any) => any;
onpopstate: (ev: PopStateEvent) => any;
onmspointerup: (ev: any) => any;
onpageshow: (ev: PageTransitionEvent) => any;
ondevicemotion: (ev: DeviceMotionEvent) => any;
devicePixelRatio: number;
msCrypto: Crypto;
ondeviceorientation: (ev: DeviceOrientationEvent) => any;
doNotTrack: string;
onmspointerenter: (ev: any) => any;
onpagehide: (ev: PageTransitionEvent) => any;
onmspointerleave: (ev: any) => any;
alert(message?: any): void;
scroll(x?: number, y?: number): void;
focus(): void;
scrollTo(x?: number, y?: number): void;
print(): void;
prompt(message?: string, _default?: string): string;
toString(): string;
open(url?: string, target?: string, features?: string, replace?: boolean): Window;
scrollBy(x?: number, y?: number): void;
confirm(message?: string): boolean;
close(): void;
postMessage(message: any, targetOrigin: string, ports?: any): void;
showModalDialog(url?: string, argument?: any, options?: any): any;
blur(): void;
getSelection(): Selection;
getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration;
msCancelRequestAnimationFrame(handle: number): void;
matchMedia(mediaQuery: string): MediaQueryList;
cancelAnimationFrame(handle: number): void;
msIsStaticHTML(html: string): boolean;
msMatchMedia(mediaQuery: string): MediaQueryList;
requestAnimationFrame(callback: FrameRequestCallback): number;
msRequestAnimationFrame(callback: FrameRequestCallback): number;
addEventListener(type: "mouseleave", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseenter", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "help", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "focusout", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "focusin", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerenter", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerout", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerdown", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerup", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointercancel", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerover", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointermove", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerleave", listener: (ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "afterprint", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "beforeprint", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "online", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "offline", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "beforeunload", listener: (ev: BeforeUnloadEvent) => any, useCapture?: boolean): void;
addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "storage", listener: (ev: StorageEvent) => any, useCapture?: boolean): void;
addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "contextmenu", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "readystatechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "message", listener: (ev: MessageEvent) => any, useCapture?: boolean): void;
addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "resize", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "hashchange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "unload", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): void;
addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerdown", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturedoubletap", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerhover", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturehold", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointermove", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturechange", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturestart", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointercancel", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgestureend", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msgesturetap", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerout", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "msinertiastart", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerover", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "popstate", listener: (ev: PopStateEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerup", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "pageshow", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;
addEventListener(type: "devicemotion", listener: (ev: DeviceMotionEvent) => any, useCapture?: boolean): void;
addEventListener(type: "deviceorientation", listener: (ev: DeviceOrientationEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerenter", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: "pagehide", listener: (ev: PageTransitionEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mspointerleave", listener: (ev: any) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListener, useCapture?: boolean): void;
}
declare var Window: {
prototype: Window;
new(): Window;
}
interface HTMLCollection extends MSHTMLCollectionExtensions {
/**
* Sets or retrieves the number of objects in a collection.
*/
length: number;
/**
* Retrieves an object from various collections.
*/
item(nameOrIndex?: any, optionalIndex?: any): Element;
/**
* Retrieves a select object or an object from an options collection.
*/
namedItem(name: string): Element;
// [name: string]: Element;
[index: number]: Element;
}
declare var HTMLCollection: {
prototype: HTMLCollection;
new(): HTMLCollection;
}
interface BlobPropertyBag {
type?: string;
endings?: string;
}
interface Blob {
type: string;
size: number;
msDetachStream(): any;
slice(start?: number, end?: number, contentType?: string): Blob;
msClose(): void;
}
declare var Blob: {
prototype: Blob;
new (blobParts?: any[], options?: BlobPropertyBag): Blob;
}
interface NavigatorID {
appVersion: string;
appName: string;
userAgent: string;
platform: string;
product: string;
vendor: string;
}
interface HTMLTableElement extends HTMLElement, MSDataBindingTableExtensions, MSDataBindingExtensions, DOML2DeprecatedBackgroundStyle, DOML2DeprecatedBackgroundColorStyle {
/**
* Sets or retrieves the width of the object.
*/
width: string;
/**
* Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.
*/
borderColorLight: any;
/**
* Sets or retrieves the amount of space between cells in a table.
*/
cellSpacing: string;
/**
* Retrieves the tFoot object of the table.
*/
tFoot: HTMLTableSectionElement;
/**
* Sets or retrieves the way the border frame around the table is displayed.
*/
frame: string;
/**
* Sets or retrieves the border color of the object.
*/
borderColor: any;
/**
* Sets or retrieves the number of horizontal rows contained in the object.
*/
rows: HTMLCollection;
/**
* Sets or retrieves which dividing lines (inner borders) are displayed.
*/
rules: string;
/**
* Sets or retrieves the number of columns in the table.
*/
cols: number;
/**
* Sets or retrieves a description and/or structure of the object.
*/
summary: string;
/**
* Retrieves the caption object of a table.
*/
caption: HTMLTableCaptionElement;
/**
* Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.
*/
tBodies: HTMLCollection;
/**
* Retrieves the tHead object of the table.
*/
tHead: HTMLTableSectionElement;
/**
* Sets or retrieves a value that indicates the table alignment.
*/
align: string;
/**
* Retrieves a collection of all cells in the table row or in the entire table.
*/
cells: HTMLCollection;
/**
* Sets or retrieves the height of the object.
*/
height: any;
/**
* Sets or retrieves the amount of space between the border of the cell and the content of the cell.
*/
cellPadding: string;
/**
* Sets or retrieves the width of the border to draw around the object.
*/
border: string;
/**
* Sets or retrieves the color for one of the two colors used to draw the 3-D border of the object.
*/
borderColorDark: any;
/**
* Removes the specified row (tr) from the element and from the rows collection.
* @param index Number that specifies the zero-based position in the rows collection of the row to remove.
*/
deleteRow(index?: number): void;
/**
* Creates an empty tBody element in the table.
*/
createTBody(): HTMLElement;
/**
* Deletes the caption element and its contents from the table.
*/
deleteCaption(): void;
/**
* 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.
*/
insertRow(index?: number): HTMLElement;
/**
* Deletes the tFoot element and its contents from the table.
*/
deleteTFoot(): void;
/**
* Returns the tHead element object if successful, or null otherwise.
*/
createTHead(): HTMLElement;
/**
* Deletes the tHead element and its contents from the table.
*/
deleteTHead(): void;
/**
* Creates an empty caption element in the table.
*/
createCaption(): HTMLElement;
/**
* Moves a table row to a new position.
* @param indexFrom Number that specifies the index in the rows collection of the table row that is moved.
* @param indexTo Number that specifies where the row is moved within the rows collection.
*/
moveRow(indexFrom?: number, indexTo?: number): any;
/**
* Creates an empty tFoot element in the table.
*/
createTFoot(): HTMLElement;
}
declare var HTMLTableElement: {
prototype: HTMLTableElement;
new(): HTMLTableElement;
}
interface TreeWalker {
whatToShow: number;
filter: NodeFilter;
root: Node;
currentNode: Node;
expandEntityReferences: boolean;
previousSibling(): Node;
lastChild(): Node;
nextSibling(): Node;
nextNode(): Node;
parentNode(): Node;
firstChild(): Node;
previousNode(): Node;
}
declare var TreeWalker: {
prototype: TreeWalker;
new(): TreeWalker;
}
interface GetSVGDocument {
getSVGDocument(): Document;
}
interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {
y: number;
y1: number;
x: number;
x1: number;
}
declare var SVGPathSegCurvetoQuadraticRel: {
prototype: SVGPathSegCurvetoQuadraticRel;
new(): SVGPathSegCurvetoQuadraticRel;
}
interface Performance {
navigation: PerformanceNavigation;
timing: PerformanceTiming;
getEntriesByType(entryType: string): any;
toJSON(): any;
getMeasures(measureName?: string): any;
clearMarks(markName?: string): void;
getMarks(markName?: string): any;
clearResourceTimings(): void;
mark(markName: string): void;
measure(measureName: string, startMarkName?: string, endMarkName?: string): void;
getEntriesByName(name: string, entryType?: string): any;
getEntries(): any;
clearMeasures(measureName?: string): void;
setResourceTimingBufferSize(maxSize: number): void;
now(): number;
}
declare var Performance: {
prototype: Performance;
new(): Performance;
}
interface MSDataBindingTableExtensions {
dataPageSize: number;
nextPage(): void;
firstPage(): void;
refresh(): void;
previousPage(): void;
lastPage(): void;
}
interface CompositionEvent extends UIEvent {
data: string;
locale: string;
initCompositionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, locale: string): void;
}
declare var CompositionEvent: {
prototype: CompositionEvent;
new(): CompositionEvent;
}
interface WindowTimers extends WindowTimersExtension {
clearTimeout(handle: number): void;
setTimeout(handler: any, timeout?: any, ...args: any[]): number;
clearInterval(handle: number): void;
setInterval(handler: any, timeout?: any, ...args: any[]): number;
}
interface SVGMarkerElement extends SVGElement, SVGStylable, SVGLangSpace, SVGFitToViewBox, SVGExternalResourcesRequired {
orientType: SVGAnimatedEnumeration;
markerUnits: SVGAnimatedEnumeration;
markerWidth: SVGAnimatedLength;
markerHeight: SVGAnimatedLength;
orientAngle: SVGAnimatedAngle;
refY: SVGAnimatedLength;
refX: SVGAnimatedLength;
setOrientToAngle(angle: SVGAngle): void;
setOrientToAuto(): void;
SVG_MARKER_ORIENT_UNKNOWN: number;
SVG_MARKER_ORIENT_ANGLE: number;
SVG_MARKERUNITS_UNKNOWN: number;
SVG_MARKERUNITS_STROKEWIDTH: number;
SVG_MARKER_ORIENT_AUTO: number;
SVG_MARKERUNITS_USERSPACEONUSE: number;
}
declare var SVGMarkerElement: {
prototype: SVGMarkerElement;
new(): SVGMarkerElement;
SVG_MARKER_ORIENT_UNKNOWN: number;
SVG_MARKER_ORIENT_ANGLE: number;
SVG_MARKERUNITS_UNKNOWN: number;
SVG_MARKERUNITS_STROKEWIDTH: number;
SVG_MARKER_ORIENT_AUTO: number;
SVG_MARKERUNITS_USERSPACEONUSE: number;
}
interface CSSStyleDeclaration {
backgroundAttachment: string;
visibility: string;
textAlignLast: string;
borderRightStyle: string;
counterIncrement: string;
orphans: string;
cssText: string;
borderStyle: string;
pointerEvents: string;
borderTopColor: string;
markerEnd: string;
textIndent: string;
listStyleImage: string;
cursor: string;
listStylePosition: string;
wordWrap: string;
borderTopStyle: string;
alignmentBaseline: string;
opacity: string;
direction: string;
strokeMiterlimit: string;
maxWidth: string;
color: string;
clip: string;
borderRightWidth: string;
verticalAlign: string;
overflow: string;
mask: string;
borderLeftStyle: string;
emptyCells: string;
stopOpacity: string;
paddingRight: string;
parentRule: CSSRule;
background: string;
boxSizing: string;
textJustify: string;
height: string;
paddingTop: string;
length: number;
right: string;
baselineShift: string;
borderLeft: string;
widows: string;
lineHeight: string;
left: string;
textUnderlinePosition: string;
glyphOrientationHorizontal: string;
display: string;
textAnchor: string;
cssFloat: string;
strokeDasharray: string;
rubyAlign: string;
fontSizeAdjust: string;
borderLeftColor: string;
backgroundImage: string;
listStyleType: string;
strokeWidth: string;
textOverflow: string;
fillRule: string;
borderBottomColor: string;
zIndex: string;
position: string;
listStyle: string;
msTransformOrigin: string;
dominantBaseline: string;
overflowY: string;
fill: string;
captionSide: string;
borderCollapse: string;
boxShadow: string;
quotes: string;
tableLayout: string;
unicodeBidi: string;
borderBottomWidth: string;
backgroundSize: string;
textDecoration: string;
strokeDashoffset: string;
fontSize: string;
border: string;
pageBreakBefore: string;
borderTopRightRadius: string;
msTransform: string;
borderBottomLeftRadius: string;
textTransform: string;
rubyPosition: string;
strokeLinejoin: string;
clipPath: string;
borderRightColor: string;
fontFamily: string;
clear: string;
content: string;
backgroundClip: string;
marginBottom: string;
counterReset: string;
outlineWidth: string;
marginRight: string;
paddingLeft: string;
borderBottom: string;
wordBreak: string;
marginTop: string;
top: string;
fontWeight: string;
borderRight: string;
width: string;
kerning: string;
pageBreakAfter: string;
borderBottomStyle: string;
fontStretch: string;
padding: string;
strokeOpacity: string;
markerStart: string;
bottom: string;
borderLeftWidth: string;
clipRule: string;
backgroundPosition: string;
backgroundColor: string;
pageBreakInside: string;
backgroundOrigin: string;
strokeLinecap: string;
borderTopWidth: string;
outlineStyle: string;
borderTop: string;
outlineColor: string;
paddingBottom: string;
marginLeft: string;
font: string;
outline: string;
wordSpacing: string;
maxHeight: string;
fillOpacity: string;
letterSpacing: string;
borderSpacing: string;
backgroundRepeat: string;
borderRadius: string;
borderWidth: string;
borderBottomRightRadius: string;
whiteSpace: string;
fontStyle: string;
minWidth: string;
stopColor: string;
borderTopLeftRadius: string;
borderColor: string;
marker: string;
glyphOrientationVertical: string;
markerMid: string;
fontVariant: string;
minHeight: string;
stroke: string;
rubyOverhang: string;
overflowX: string;
textAlign: string;
margin: string;
animationFillMode: string;
floodColor: string;
animationIterationCount: string;
textShadow: string;
backfaceVisibility: string;
msAnimationIterationCount: string;
animationDelay: string;
animationTimingFunction: string;
columnWidth: any;
msScrollSnapX: string;
columnRuleColor: any;
columnRuleWidth: any;
transitionDelay: string;
transition: string;
msFlowFrom: string;
msScrollSnapType: string;
msContentZoomSnapType: string;
msGridColumns: string;
msAnimationName: string;
msGridRowAlign: string;
msContentZoomChaining: string;
msGridColumn: any;
msHyphenateLimitZone: any;
msScrollRails: string;
msAnimationDelay: string;
enableBackground: string;
msWrapThrough: string;
columnRuleStyle: string;
msAnimation: string;
msFlexFlow: string;
msScrollSnapY: string;
msHyphenateLimitLines: any;
msTouchAction: string;
msScrollLimit: string;
animation: string;
transform: string;
filter: string;
colorInterpolationFilters: string;
transitionTimingFunction: string;
msBackfaceVisibility: string;
animationPlayState: string;
transformOrigin: string;
msScrollLimitYMin: any;
msFontFeatureSettings: string;
msContentZoomLimitMin: any;
columnGap: any;
transitionProperty: string;
msAnimationDuration: string;
msAnimationFillMode: string;
msFlexDirection: string;
msTransitionDuration: string;
fontFeatureSettings: string;
breakBefore: string;
msFlexWrap: string;
perspective: string;
msFlowInto: string;
msTransformStyle: string;
msScrollTranslation: string;
msTransitionProperty: string;
msUserSelect: string;
msOverflowStyle: string;
msScrollSnapPointsY: string;
animationDirection: string;
animationDuration: string;
msFlex: string;
msTransitionTimingFunction: string;
animationName: string;
columnRule: string;
msGridColumnSpan: any;
msFlexNegative: string;
columnFill: string;
msGridRow: any;
msFlexOrder: string;
msFlexItemAlign: string;
msFlexPositive: string;
msContentZoomLimitMax: any;
msScrollLimitYMax: any;
msGridColumnAlign: string;
perspectiveOrigin: string;
lightingColor: string;
columns: string;
msScrollChaining: string;
msHyphenateLimitChars: string;
msTouchSelect: string;
floodOpacity: string;
msAnimationDirection: string;
msAnimationPlayState: string;
columnSpan: string;
msContentZooming: string;
msPerspective: string;
msFlexPack: string;
msScrollSnapPointsX: string;
msContentZoomSnapPoints: string;
msGridRowSpan: any;
msContentZoomSnap: string;
msScrollLimitXMin: any;
breakInside: string;
msHighContrastAdjust: string;
msFlexLinePack: string;
msGridRows: string;
transitionDuration: string;
msHyphens: string;
breakAfter: string;
msTransition: string;
msPerspectiveOrigin: string;
msContentZoomLimit: string;
msScrollLimitXMax: any;
msFlexAlign: string;
msWrapMargin: any;
columnCount: any;
msAnimationTimingFunction: string;
msTransitionDelay: string;
transformStyle: string;
msWrapFlow: string;
msFlexPreferredSize: string;
alignItems: string;
borderImageSource: string;
flexBasis: string;
borderImageWidth: string;
borderImageRepeat: string;
order: string;
flex: string;
alignContent: string;
msImeAlign: string;
flexShrink: string;
flexGrow: string;
borderImageSlice: string;
flexWrap: string;
borderImageOutset: string;
flexDirection: string;
touchAction: string;
flexFlow: string;
borderImage: string;
justifyContent: string;
alignSelf: string;
msTextCombineHorizontal: string;
getPropertyPriority(propertyName: string): string;
getPropertyValue(propertyName: string): string;
removeProperty(propertyName: string): string;
item(index: number): string;
[index: number]: string;
setProperty(propertyName: string, value: string, priority?: string): void;
}
declare var CSSStyleDeclaration: {
prototype: CSSStyleDeclaration;
new(): CSSStyleDeclaration;
}
interface SVGGElement extends SVGElement, SVGStylable, SVGTransformable, SVGLangSpace, SVGTests, SVGExternalResourcesRequired {
}
declare var SVGGElement: {
prototype: SVGGElement;
new(): SVGGElement;
}
interface MSStyleCSSProperties extends MSCSSProperties {
pixelWidth: number;
posHeight: number;
posLeft: number;
pixelTop: number;
pixelBottom: number;
textDecorationNone: boolean;
pixelLeft: number;
posTop: number;
posBottom: number;
textDecorationOverline: boolean;
posWidth: number;
textDecorationLineThrough: boolean;
pixelHeight: number;
textDecorationBlink: boolean;
posRight: number;
pixelRight: number;
textDecorationUnderline: boolean;
}
declare var MSStyleCSSProperties: {
prototype: MSStyleCSSProperties;
new(): MSStyleCSSProperties;
}
interface Navigator extends NavigatorID, NavigatorOnLine, NavigatorContentUtils, MSNavigatorExtensions, NavigatorGeolocation, MSNavigatorDoNotTrack, NavigatorStorageUtils, MSFileSaver {
msMaxTouchPoints: number;
msPointerEnabled: boolean;
msManipulationViewsEnabled: boolean;
pointerEnabled: boolean;
maxTouchPoints: number;
msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void;
}
declare var Navigator: {
prototype: Navigator;
new(): Navigator;
}
interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {
y: number;
x2: number;
x: number;
y2: number;
}
declare var SVGPathSegCurvetoCubicSmoothAbs: {
prototype: SVGPathSegCurvetoCubicSmoothAbs;
new(): SVGPathSegCurvetoCubicSmoothAbs;
}
interface SVGZoomEvent extends UIEvent {
zoomRectScreen: SVGRect;
previousScale: number;
newScale: number;
previousTranslate: SVGPoint;
newTranslate: SVGPoint;
}
declare var SVGZoomEvent: {
prototype: SVGZoomEvent;
new(): SVGZoomEvent;
}
interface NodeSelector {
querySelectorAll(selectors: string): NodeList;
querySelector(selectors: string): Element;
}
interface HTMLTableDataCellElement extends HTMLTableCellElement {
}
declare var HTMLTableDataCellElement: {
prototype: HTMLTableDataCellElement;
new(): HTMLTableDataCellElement;
}
interface HTMLBaseElement extends HTMLElement {
/**
* Sets or retrieves the window or frame at which to target content.
*/
target: string;
/**
* Gets or sets the baseline URL on which relative links are based.
*/
href: string;
}
declare var HTMLBaseElement: {
prototype: HTMLBaseElement;
new(): HTMLBaseElement;
}
interface ClientRect {
left: number;
width: number;
right: number;
top: number;
bottom: number;
height: number;
}
declare var ClientRect: {
prototype: ClientRect;
new(): ClientRect;
}
interface PositionErrorCallback {
(error: PositionError): void;
}
interface DOMImplementation {
createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType;
createDocument(namespaceURI: string, qualifiedName: string, doctype: DocumentType): Document;
hasFeature(feature: string, version?: string): boolean;
createHTMLDocument(title: string): Document;
}
declare var DOMImplementation: {
prototype: DOMImplementation;
new(): DOMImplementation;
}
interface SVGUnitTypes {
SVG_UNIT_TYPE_UNKNOWN: number;
SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;
SVG_UNIT_TYPE_USERSPACEONUSE: number;
}
declare var SVGUnitTypes: SVGUnitTypes;
interface Element extends Node, NodeSelector, ElementTraversal, GlobalEventHandlers {
scrollTop: number;
clientLeft: number;
scrollLeft: number;
tagName: string;
clientWidth: number;
scrollWidth: number;
clientHeight: number;
clientTop: number;
scrollHeight: number;
msRegionOverflow: string;
onmspointerdown: (ev: any) => any;
onmsgotpointercapture: (ev: any) => any;
onmsgesturedoubletap: (ev: any) => any;
onmspointerhover: (ev: any) => any;
onmsgesturehold: (ev: any) => any;
onmspointermove: (ev: any) => any;
onmsgesturechange: (ev: any) => any;
onmsgesturestart: (ev: any) => any;
onmspointercancel: (ev: any) => any;
onmsgestureend: (ev: any) => any;
onmsgesturetap: (ev: any) => any;
onmspointerout: (ev: any) => any;
onmsinertiastart: (ev: any) => any;
onmslostpointercapture: (ev: any) => any;
onmspointerover: (ev: any) => any;
msContentZoomFactor: number;
onmspointerup: (ev: any) => any;
onlostpointercapture: (ev: PointerEvent) => any;
onmspointerenter: (ev: any) => any;
ongotpointercapture: (ev: PointerEvent) => any;
onmspointerleave: (ev: any) => any;
getAttribute(name?: string): string;
getElementsByTagNameNS(namespaceURI: string, localName: string): NodeList;
hasAttributeNS(namespaceURI: string, localName: string): boolean;
getBoundingClientRect(): ClientRect;
getAttributeNS(namespaceURI: string, localName: string): string;
getAttributeNodeNS(namespaceURI: string, localName: string): Attr;
setAttributeNodeNS(newAttr: Attr): Attr;
msMatchesSelector(selectors: string): boolean;
hasAttribute(name: string): boolean;
removeAttribute(name?: string): void;
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void;
getAttributeNode(name: string): Attr;
fireEvent(eventName: string, eventObj?: any): boolean;
getElementsByTagName(name: "a"): NodeListOf;
getElementsByTagName(name: "abbr"): NodeListOf;
getElementsByTagName(name: "acronym"): NodeListOf;
getElementsByTagName(name: "address"): NodeListOf;
getElementsByTagName(name: "applet"): NodeListOf;
getElementsByTagName(name: "area"): NodeListOf;
getElementsByTagName(name: "article"): NodeListOf;
getElementsByTagName(name: "aside"): NodeListOf;
getElementsByTagName(name: "audio"): NodeListOf;
getElementsByTagName(name: "b"): NodeListOf;
getElementsByTagName(name: "base"): NodeListOf;
getElementsByTagName(name: "basefont"): NodeListOf;
getElementsByTagName(name: "bdo"): NodeListOf;
getElementsByTagName(name: "bgsound"): NodeListOf;
getElementsByTagName(name: "big"): NodeListOf;
getElementsByTagName(name: "blockquote"): NodeListOf;
getElementsByTagName(name: "body"): NodeListOf;
getElementsByTagName(name: "br"): NodeListOf;
getElementsByTagName(name: "button"): NodeListOf;
getElementsByTagName(name: "canvas"): NodeListOf;
getElementsByTagName(name: "caption"): NodeListOf;
getElementsByTagName(name: "center"): NodeListOf;
getElementsByTagName(name: "cite"): NodeListOf;
getElementsByTagName(name: "code"): NodeListOf;
getElementsByTagName(name: "col"): NodeListOf;
getElementsByTagName(name: "colgroup"): NodeListOf;
getElementsByTagName(name: "datalist"): NodeListOf;
getElementsByTagName(name: "dd"): NodeListOf;
getElementsByTagName(name: "del"): NodeListOf;
getElementsByTagName(name: "dfn"): NodeListOf;
getElementsByTagName(name: "dir"): NodeListOf;
getElementsByTagName(name: "div"): NodeListOf;
getElementsByTagName(name: "dl"): NodeListOf;
getElementsByTagName(name: "dt"): NodeListOf;
getElementsByTagName(name: "em"): NodeListOf;
getElementsByTagName(name: "embed"): NodeListOf;
getElementsByTagName(name: "fieldset"): NodeListOf;
getElementsByTagName(name: "figcaption"): NodeListOf;
getElementsByTagName(name: "figure"): NodeListOf;
getElementsByTagName(name: "font"): NodeListOf;
getElementsByTagName(name: "footer"): NodeListOf;
getElementsByTagName(name: "form"): NodeListOf;
getElementsByTagName(name: "frame"): NodeListOf;
getElementsByTagName(name: "frameset"): NodeListOf;
getElementsByTagName(name: "h1"): NodeListOf;
getElementsByTagName(name: "h2"): NodeListOf;
getElementsByTagName(name: "h3"): NodeListOf;
getElementsByTagName(name: "h4"): NodeListOf;
getElementsByTagName(name: "h5"): NodeListOf;
getElementsByTagName(name: "h6"): NodeListOf;
getElementsByTagName(name: "head"): NodeListOf;
getElementsByTagName(name: "header"): NodeListOf;
getElementsByTagName(name: "hgroup"): NodeListOf;
getElementsByTagName(name: "hr"): NodeListOf;
getElementsByTagName(name: "html"): NodeListOf;
getElementsByTagName(name: "i"): NodeListOf;
getElementsByTagName(name: "iframe"): NodeListOf;
getElementsByTagName(name: "img"): NodeListOf;
getElementsByTagName(name: "input"): NodeListOf;
getElementsByTagName(name: "ins"): NodeListOf;
getElementsByTagName(name: "isindex"): NodeListOf;
getElementsByTagName(name: "kbd"): NodeListOf;
getElementsByTagName(name: "keygen"): NodeListOf;
getElementsByTagName(name: "label"): NodeListOf;
getElementsByTagName(name: "legend"): NodeListOf;
getElementsByTagName(name: "li"): NodeListOf;
getElementsByTagName(name: "link"): NodeListOf;
getElementsByTagName(name: "listing"): NodeListOf;
getElementsByTagName(name: "map"): NodeListOf;
getElementsByTagName(name: "mark"): NodeListOf;
getElementsByTagName(name: "marquee"): NodeListOf;
getElementsByTagName(name: "menu"): NodeListOf;
getElementsByTagName(name: "meta"): NodeListOf;
getElementsByTagName(name: "nav"): NodeListOf;
getElementsByTagName(name: "nextid"): NodeListOf;
getElementsByTagName(name: "nobr"): NodeListOf;
getElementsByTagName(name: "noframes"): NodeListOf;
getElementsByTagName(name: "noscript"): NodeListOf;
getElementsByTagName(name: "object"): NodeListOf;
getElementsByTagName(name: "ol"): NodeListOf;
getElementsByTagName(name: "optgroup"): NodeListOf;
getElementsByTagName(name: "option"): NodeListOf;
getElementsByTagName(name: "p"): NodeListOf;
getElementsByTagName(name: "param"): NodeListOf;
getElementsByTagName(name: "plaintext"): NodeListOf;
getElementsByTagName(name: "pre"): NodeListOf;
getElementsByTagName(name: "progress"): NodeListOf;
getElementsByTagName(name: "q"): NodeListOf;
getElementsByTagName(name: "rt"): NodeListOf;
getElementsByTagName(name: "ruby"): NodeListOf;
getElementsByTagName(name: "s"): NodeListOf;
getElementsByTagName(name: "samp"): NodeListOf;
getElementsByTagName(name: "script"): NodeListOf;
getElementsByTagName(name: "section"): NodeListOf;
getElementsByTagName(name: "select"): NodeListOf;
getElementsByTagName(name: "small"): NodeListOf;
getElementsByTagName(name: "SOURCE"): NodeListOf;
getElementsByTagName(name: "span"): NodeListOf;
getElementsByTagName(name: "strike"): NodeListOf;
getElementsByTagName(name: "strong"): NodeListOf;
getElementsByTagName(name: "style"): NodeListOf;
getElementsByTagName(name: "sub"): NodeListOf;
getElementsByTagName(name: "sup"): NodeListOf;
getElementsByTagName(name: "table"): NodeListOf;
getElementsByTagName(name: "tbody"): NodeListOf;
getElementsByTagName(name: "td"): NodeListOf;
getElementsByTagName(name: "textarea"): NodeListOf;
getElementsByTagName(name: "tfoot"): NodeListOf;
getElementsByTagName(name: "th"): NodeListOf;
getElementsByTagName(name: "thead"): NodeListOf;
getElementsByTagName(name: "title"): NodeListOf;
getElementsByTagName(name: "tr"): NodeListOf;
getElementsByTagName(name: "track"): NodeListOf;
getElementsByTagName(name: "tt"): NodeListOf;
getElementsByTagName(name: "u"): NodeListOf;
getElementsByTagName(name: "ul"): NodeListOf;
getElementsByTagName(name: "var"): NodeListOf;
getElementsByTagName(name: "video"): NodeListOf;
getElementsByTagName(name: "wbr"): NodeListOf