---
title: "lib | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/lib/"
---

# lib

> Is an object whose properties have the value 'true'
> when they will be absent when used in a 'with' statement.

## Interfaces

### Array

#### Type Parameters

| Type Parameter |
| ------ |
| `T` |

#### Indexable

```ts
[n: number]: T
```

#### Properties

##### \[unscopables\]

```ts
readonly [unscopables]: object;
```

###### Index Signature

```ts
[key: number]: boolean
```

###### \[iterator\]?

```ts
optional [iterator]?: boolean;
```

###### \[unscopables\]?

```ts
readonly optional [unscopables]?: boolean;
```

Is an object whose properties have the value 'true'
when they will be absent when used in a 'with' statement.

###### concat?

```ts
optional concat?: boolean;
```

###### copyWithin?

```ts
optional copyWithin?: boolean;
```

###### entries?

```ts
optional entries?: boolean;
```

###### every?

```ts
optional every?: boolean;
```

###### fill?

```ts
optional fill?: boolean;
```

###### filter?

```ts
optional filter?: boolean;
```

###### find?

```ts
optional find?: boolean;
```

###### findIndex?

```ts
optional findIndex?: boolean;
```

###### flat?

```ts
optional flat?: boolean;
```

###### flatMap?

```ts
optional flatMap?: boolean;
```

###### forEach?

```ts
optional forEach?: boolean;
```

###### includes?

```ts
optional includes?: boolean;
```

###### indexOf?

```ts
optional indexOf?: boolean;
```

###### join?

```ts
optional join?: boolean;
```

###### keys?

```ts
optional keys?: boolean;
```

###### lastIndexOf?

```ts
optional lastIndexOf?: boolean;
```

###### length?

```ts
optional length?: boolean;
```

Gets or sets the length of the array. This is a number one higher than the highest index in the array.

###### map?

```ts
optional map?: boolean;
```

###### pop?

```ts
optional pop?: boolean;
```

###### push?

```ts
optional push?: boolean;
```

###### reduce?

```ts
optional reduce?: boolean;
```

###### reduceRight?

```ts
optional reduceRight?: boolean;
```

###### reverse?

```ts
optional reverse?: boolean;
```

###### shift?

```ts
optional shift?: boolean;
```

###### slice?

```ts
optional slice?: boolean;
```

###### some?

```ts
optional some?: boolean;
```

###### sort?

```ts
optional sort?: boolean;
```

###### splice?

```ts
optional splice?: boolean;
```

###### toLocaleString?

```ts
optional toLocaleString?: boolean;
```

###### toString?

```ts
optional toString?: boolean;
```

###### unshift?

```ts
optional unshift?: boolean;
```

###### values?

```ts
optional values?: boolean;
```

##### length

```ts
length: number;
```

Gets or sets the length of the array. This is a number one higher than the highest index in the array.

#### Methods

##### \[iterator\]()

```ts
iterator: ArrayIterator<T>;
```

Iterator

###### Returns

`ArrayIterator`\<`T`\>

##### concat()

###### Call Signature

```ts
concat(...items): T[];
```

Combines two or more arrays.
This method returns a new array without modifying any existing arrays.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| ...`items` | `ConcatArray`\<`T`\>[] | Additional arrays and/or items to add to the end of the array. |

###### Returns

`T`[]

###### Call Signature

```ts
concat(...items): T[];
```

Combines two or more arrays.
This method returns a new array without modifying any existing arrays.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| ...`items` | (`T` \| `ConcatArray`\<`T`\>)[] | Additional arrays and/or items to add to the end of the array. |

###### Returns

`T`[]

##### copyWithin()

```ts
copyWithin(
   target, 
   start, 
   end?): this;
```

Returns the this object after copying a section of the array identified by start and end
to the same array starting at position target

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `target` | `number` | If target is negative, it is treated as length+target where length is the length of the array. |
| `start` | `number` | If start is negative, it is treated as length+start. If end is negative, it is treated as length+end. |
| `end?` | `number` | If not specified, length of the this object is used as its default value. |

###### Returns

`this`

##### entries()

```ts
entries(): ArrayIterator<[number, T]>;
```

Returns an iterable of key, value pairs for every entry in the array

###### Returns

`ArrayIterator`\<\[`number`, `T`\]\>

##### every()

###### Call Signature

```ts
every<S>(predicate, thisArg?): this is S[];
```

Determines whether all the members of an array satisfy the specified test.

###### Type Parameters

| Type Parameter |
| ------ |
| `S` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `predicate` | (`value`, `index`, `array`) => `value is S` | A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array. |
| `thisArg?` | `any` | An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`this is S[]`

###### Call Signature

```ts
every(predicate, thisArg?): boolean;
```

Determines whether all the members of an array satisfy the specified test.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `predicate` | (`value`, `index`, `array`) => `unknown` | A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array. |
| `thisArg?` | `any` | An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`boolean`

##### fill()

```ts
fill(
   value, 
   start?, 
   end?): this;
```

Changes all array elements from `start` to `end` index to a static `value` and returns the modified array

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `value` | `T` | value to fill array section with |
| `start?` | `number` | index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array. |
| `end?` | `number` | index to stop filling the array at. If end is negative, it is treated as length+end. |

###### Returns

`this`

##### filter()

###### Call Signature

```ts
filter<S>(predicate, thisArg?): S[];
```

Returns the elements of an array that meet the condition specified in a callback function.

###### Type Parameters

| Type Parameter |
| ------ |
| `S` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `predicate` | (`value`, `index`, `array`) => `value is S` | A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. |
| `thisArg?` | `any` | An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`S`[]

###### Call Signature

```ts
filter(predicate, thisArg?): T[];
```

Returns the elements of an array that meet the condition specified in a callback function.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `predicate` | (`value`, `index`, `array`) => `unknown` | A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. |
| `thisArg?` | `any` | An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`T`[]

###### Call Signature

```ts
filter<U>(callbackfn, thisArg?): U[];
```

###### Type Parameters

| Type Parameter |
| ------ |
| `U` |

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callbackfn` | (`a`) => `a is U` |
| `thisArg?` | `any` |

###### Returns

`U`[]

##### find()

###### Call Signature

```ts
find<S>(predicate, thisArg?): S;
```

Returns the value of the first element in the array where predicate is true, and undefined
otherwise.

###### Type Parameters

| Type Parameter |
| ------ |
| `S` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `predicate` | (`value`, `index`, `obj`) => `value is S` | find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined. |
| `thisArg?` | `any` | If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead. |

###### Returns

`S`

###### Call Signature

```ts
find(predicate, thisArg?): T;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `predicate` | (`value`, `index`, `obj`) => `unknown` |
| `thisArg?` | `any` |

###### Returns

`T`

###### Call Signature

```ts
find<U>(predicate): U;
```

###### Type Parameters

| Type Parameter |
| ------ |
| `U` |

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `predicate` | (`value`, `index`, `obj`) => `value is U` |

###### Returns

`U`

##### findIndex()

```ts
findIndex(predicate, thisArg?): number;
```

Returns the index of the first element in the array where predicate is true, and -1
otherwise.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `predicate` | (`value`, `index`, `obj`) => `unknown` | find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1. |
| `thisArg?` | `any` | If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead. |

###### Returns

`number`

##### flat()

```ts
flat<A, D>(this, depth?): FlatArray<A, D>[];
```

Returns a new array with all sub-array elements concatenated into it recursively up to the
specified depth.

###### Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `A` | - |
| `D` *extends* `number` | `1` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `A` | - |
| `depth?` | `D` | The maximum recursion depth |

###### Returns

`FlatArray`\<`A`, `D`\>[]

##### flatMap()

```ts
flatMap<U, This>(callback, thisArg?): U[];
```

Calls a defined callback function on each element of an array. Then, flattens the result into
a new array.
This is identical to a map followed by flat with depth 1.

###### Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `U` | - |
| `This` | `undefined` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `callback` | (`this`, `value`, `index`, `array`) => `U` \| readonly `U`[] | A function that accepts up to three arguments. The flatMap method calls the callback function one time for each element in the array. |
| `thisArg?` | `This` | An object to which the this keyword can refer in the callback function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`U`[]

##### forEach()

```ts
forEach(callbackfn, thisArg?): void;
```

Performs the specified action for each element in an array.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `callbackfn` | (`value`, `index`, `array`) => `void` | A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array. |
| `thisArg?` | `any` | An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`void`

##### includes()

```ts
includes(searchElement, fromIndex?): boolean;
```

Determines whether an array includes a certain element, returning true or false as appropriate.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `searchElement` | `T` | The element to search for. |
| `fromIndex?` | `number` | The position in this array at which to begin searching for searchElement. |

###### Returns

`boolean`

##### indexOf()

```ts
indexOf(searchElement, fromIndex?): number;
```

Returns the index of the first occurrence of a value in an array, or -1 if it is not present.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `searchElement` | `T` | The value to locate in the array. |
| `fromIndex?` | `number` | The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0. |

###### Returns

`number`

##### join()

```ts
join(separator?): string;
```

Adds all the elements of an array into a string, separated by the specified separator string.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `separator?` | `string` | A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma. |

###### Returns

`string`

##### keys()

```ts
keys(): ArrayIterator<number>;
```

Returns an iterable of keys in the array

###### Returns

`ArrayIterator`\<`number`\>

##### lastIndexOf()

```ts
lastIndexOf(searchElement, fromIndex?): number;
```

Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `searchElement` | `T` | The value to locate in the array. |
| `fromIndex?` | `number` | The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array. |

###### Returns

`number`

##### map()

```ts
map<U>(callbackfn, thisArg?): U[];
```

Calls a defined callback function on each element of an array, and returns an array that contains the results.

###### Type Parameters

| Type Parameter |
| ------ |
| `U` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `callbackfn` | (`value`, `index`, `array`) => `U` | A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array. |
| `thisArg?` | `any` | An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`U`[]

##### pop()

```ts
pop(): T;
```

Removes the last element from an array and returns it.
If the array is empty, undefined is returned and the array is not modified.

###### Returns

`T`

##### push()

```ts
push(...items): number;
```

Appends new elements to the end of an array, and returns the new length of the array.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| ...`items` | `T`[] | New elements to add to the array. |

###### Returns

`number`

##### reduce()

###### Call Signature

```ts
reduce(callbackfn): T;
```

Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `callbackfn` | (`previousValue`, `currentValue`, `currentIndex`, `array`) => `T` | A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array. |

###### Returns

`T`

###### Call Signature

```ts
reduce(callbackfn, initialValue): T;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callbackfn` | (`previousValue`, `currentValue`, `currentIndex`, `array`) => `T` |
| `initialValue` | `T` |

###### Returns

`T`

###### Call Signature

```ts
reduce<U>(callbackfn, initialValue): U;
```

Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

###### Type Parameters

| Type Parameter |
| ------ |
| `U` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `callbackfn` | (`previousValue`, `currentValue`, `currentIndex`, `array`) => `U` | A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array. |
| `initialValue` | `U` | If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. |

###### Returns

`U`

##### reduceRight()

###### Call Signature

```ts
reduceRight(callbackfn): T;
```

Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `callbackfn` | (`previousValue`, `currentValue`, `currentIndex`, `array`) => `T` | A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array. |

###### Returns

`T`

###### Call Signature

```ts
reduceRight(callbackfn, initialValue): T;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callbackfn` | (`previousValue`, `currentValue`, `currentIndex`, `array`) => `T` |
| `initialValue` | `T` |

###### Returns

`T`

###### Call Signature

```ts
reduceRight<U>(callbackfn, initialValue): U;
```

Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

###### Type Parameters

| Type Parameter |
| ------ |
| `U` |

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `callbackfn` | (`previousValue`, `currentValue`, `currentIndex`, `array`) => `U` | A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array. |
| `initialValue` | `U` | If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value. |

###### Returns

`U`

##### reverse()

```ts
reverse(): T[];
```

Reverses the elements in an array in place.
This method mutates the array and returns a reference to the same array.

###### Returns

`T`[]

##### shift()

```ts
shift(): T;
```

Removes the first element from an array and returns it.
If the array is empty, undefined is returned and the array is not modified.

###### Returns

`T`

##### slice()

```ts
slice(start?, end?): T[];
```

Returns a copy of a section of an array.
For both start and end, a negative index can be used to indicate an offset from the end of the array.
For example, -2 refers to the second to last element of the array.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `start?` | `number` | The beginning index of the specified portion of the array. If start is undefined, then the slice begins at index 0. |
| `end?` | `number` | The end index of the specified portion of the array. This is exclusive of the element at the index 'end'. If end is undefined, then the slice extends to the end of the array. |

###### Returns

`T`[]

##### some()

```ts
some(predicate, thisArg?): boolean;
```

Determines whether the specified callback function returns true for any element of an array.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `predicate` | (`value`, `index`, `array`) => `unknown` | A function that accepts up to three arguments. The some method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value true, or until the end of the array. |
| `thisArg?` | `any` | An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. |

###### Returns

`boolean`

##### sort()

```ts
sort(compareFn?): this;
```

Sorts an array in place.
This method mutates the array and returns a reference to the same array.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `compareFn?` | (`a`, `b`) => `number` | Function used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they're equal, and a positive value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. `[11,2,22,1].sort((a, b) => a - b)` |

###### Returns

`this`

##### splice()

###### Call Signature

```ts
splice(start, deleteCount?): T[];
```

Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `start` | `number` | The zero-based location in the array from which to start removing elements. |
| `deleteCount?` | `number` | The number of elements to remove. |

###### Returns

`T`[]

An array containing the elements that were deleted.

###### Call Signature

```ts
splice(
   start, 
   deleteCount, ...
   items): T[];
```

Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `start` | `number` | The zero-based location in the array from which to start removing elements. |
| `deleteCount` | `number` | The number of elements to remove. |
| ...`items` | `T`[] | Elements to insert into the array in place of the deleted elements. |

###### Returns

`T`[]

An array containing the elements that were deleted.

##### toLocaleString()

###### Call Signature

```ts
toLocaleString(): string;
```

Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.

###### Returns

`string`

###### Call Signature

```ts
toLocaleString(locales, options?): string;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `locales` | `string` \| `string`[] |
| `options?` | `NumberFormatOptions` & `DateTimeFormatOptions` |

###### Returns

`string`

##### toString()

```ts
toString(): string;
```

Returns a string representation of an array.

###### Returns

`string`

##### unshift()

```ts
unshift(...items): number;
```

Inserts new elements at the start of an array, and returns the new length of the array.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| ...`items` | `T`[] | Elements to insert at the start of the array. |

###### Returns

`number`

##### values()

```ts
values(): ArrayIterator<T>;
```

Returns an iterable of values in the array

###### Returns

`ArrayIterator`\<`T`\>

***

### IdleCallbackDeadline

#### Properties

##### timeRemaining

```ts
timeRemaining: () => number;
```

###### Returns

`number`

***

### Window

A window containing a DOM document; the document property points to the DOM document loaded in that window.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window)

#### Extends

- `EventTarget`.`AnimationFrameProvider`.`GlobalEventHandlers`.`WindowEventHandlers`.`WindowLocalStorage`.`WindowOrWorkerGlobalScope`.`WindowSessionStorage`

#### Indexable

```ts
[index: number]: Window
```

#### Properties

##### caches

```ts
readonly caches: CacheStorage;
```

Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)

###### Inherited from

```ts
WindowOrWorkerGlobalScope.caches
```

##### ~~clientInformation~~

```ts
readonly clientInformation: Navigator;
```

###### Deprecated

This is a legacy alias of `navigator`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)

##### closed

```ts
readonly closed: boolean;
```

Returns true if the window has been closed, false otherwise.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/closed)

##### crossOriginIsolated

```ts
readonly crossOriginIsolated: boolean;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated)

###### Inherited from

```ts
WindowOrWorkerGlobalScope.crossOriginIsolated
```

##### crypto

```ts
readonly crypto: Crypto;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto)

###### Inherited from

```ts
WindowOrWorkerGlobalScope.crypto
```

##### customElements

```ts
readonly customElements: CustomElementRegistry;
```

Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)

##### devicePixelRatio

```ts
readonly devicePixelRatio: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicePixelRatio)

<a id="document"></a>

##### document

```ts
readonly document: Document;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)

<a id="event"></a>

##### ~~event~~

```ts
readonly event: Event;
```

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/event)

##### ~~external~~

```ts
readonly external: External;
```

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/external)

##### frameElement

```ts
readonly frameElement: Element;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frameElement)

<a id="frames"></a>

##### frames

```ts
readonly frames: Window;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frames)

<a id="history"></a>

##### history

```ts
readonly history: History;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/history)

<a id="htmlelement"></a>

##### HTMLElement

```ts
HTMLElement: {
(): HTMLElement;
  prototype: HTMLElement;
};
```

###### Returns

`HTMLElement`

###### prototype

```ts
prototype: HTMLElement;
```

##### indexedDB

```ts
readonly indexedDB: IDBFactory;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB)

###### Inherited from

```ts
WindowOrWorkerGlobalScope.indexedDB
```

##### innerHeight

```ts
readonly innerHeight: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)

<a id="innerwidth"></a>

##### innerWidth

```ts
readonly innerWidth: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerWidth)

<a id="issecurecontext"></a>

##### isSecureContext

```ts
readonly isSecureContext: boolean;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext)

###### Inherited from

```ts
WindowOrWorkerGlobalScope.isSecureContext
```

##### length

```ts
readonly length: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)

<a id="localstorage"></a>

##### localStorage

```ts
readonly localStorage: Storage;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/localStorage)

###### Inherited from

```ts
WindowLocalStorage.localStorage
```

##### locationbar

```ts
readonly locationbar: BarProp;
```

Returns true if the location bar is visible; otherwise, returns false.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/locationbar)

##### Math

```ts
Math: Math;
```

##### menubar

```ts
readonly menubar: BarProp;
```

Returns true if the menu bar is visible; otherwise, returns false.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/menubar)

##### name

```ts
name: string;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/name)

<a id="navigator"></a>

##### navigator

```ts
readonly navigator: Navigator;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)

<a id="onabort"></a>

##### onabort

```ts
onabort: (this, ev) => any;
```

Fires when the user aborts the download.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `UIEvent` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onabort
```

##### onafterprint

```ts
onafterprint: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/afterprint_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onafterprint
```

##### onanimationcancel

```ts
onanimationcancel: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationcancel_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `AnimationEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onanimationcancel
```

##### onanimationend

```ts
onanimationend: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `AnimationEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onanimationend
```

##### onanimationiteration

```ts
onanimationiteration: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `AnimationEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onanimationiteration
```

##### onanimationstart

```ts
onanimationstart: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `AnimationEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onanimationstart
```

##### onauxclick

```ts
onauxclick: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `MouseEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onauxclick
```

##### onbeforeinput

```ts
onbeforeinput: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `InputEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onbeforeinput
```

##### onbeforeprint

```ts
onbeforeprint: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeprint_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onbeforeprint
```

##### onbeforetoggle

```ts
onbeforetoggle: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onbeforetoggle
```

##### onbeforeunload

```ts
onbeforeunload: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeunload_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `BeforeUnloadEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onbeforeunload
```

##### onblur

```ts
onblur: (this, ev) => any;
```

Fires when the object loses the input focus.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `FocusEvent` | The focus event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onblur
```

##### oncancel

```ts
oncancel: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncancel
```

##### oncanplay

```ts
oncanplay: (this, ev) => any;
```

Occurs when playback is possible, but would require further buffering.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncanplay
```

##### oncanplaythrough

```ts
oncanplaythrough: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplaythrough_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncanplaythrough
```

##### onchange

```ts
onchange: (this, ev) => any;
```

Fires when the contents of the object or selection have changed.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onchange
```

##### onclick

```ts
onclick: (this, ev) => any;
```

Fires when the user clicks the left mouse button on the object

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onclick
```

##### onclose

```ts
onclose: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onclose
```

##### oncontextlost

```ts
oncontextlost: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncontextlost
```

##### oncontextmenu

```ts
oncontextmenu: (this, ev) => any;
```

Fires when the user clicks the right mouse button in the client area, opening the context menu.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncontextmenu
```

##### oncontextrestored

```ts
oncontextrestored: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncontextrestored
```

##### oncopy

```ts
oncopy: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `ClipboardEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncopy
```

##### oncuechange

```ts
oncuechange: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncuechange
```

##### oncut

```ts
oncut: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/cut_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `ClipboardEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oncut
```

##### ondblclick

```ts
ondblclick: (this, ev) => any;
```

Fires when the user double-clicks the object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondblclick
```

##### ondevicemotion

```ts
ondevicemotion: (this, ev) => any;
```

Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicemotion_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | [`Window`](#window) |
| `ev` | `DeviceMotionEvent` |

###### Returns

`any`

##### ondeviceorientation

```ts
ondeviceorientation: (this, ev) => any;
```

Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | [`Window`](#window) |
| `ev` | `DeviceOrientationEvent` |

###### Returns

`any`

##### ondeviceorientationabsolute

```ts
ondeviceorientationabsolute: (this, ev) => any;
```

Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | [`Window`](#window) |
| `ev` | `DeviceOrientationEvent` |

###### Returns

`any`

##### ondrag

```ts
ondrag: (this, ev) => any;
```

Fires on the source object continuously during a drag operation.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `DragEvent` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondrag
```

##### ondragend

```ts
ondragend: (this, ev) => any;
```

Fires on the source object when the user releases the mouse at the close of a drag operation.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `DragEvent` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondragend
```

##### ondragenter

```ts
ondragenter: (this, ev) => any;
```

Fires on the target element when the user drags the object to a valid drop target.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `DragEvent` | The drag event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondragenter
```

##### ondragleave

```ts
ondragleave: (this, ev) => any;
```

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `DragEvent` | The drag event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondragleave
```

##### ondragover

```ts
ondragover: (this, ev) => any;
```

Fires on the target element continuously while the user drags the object over a valid drop target.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `DragEvent` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondragover
```

##### ondragstart

```ts
ondragstart: (this, ev) => any;
```

Fires on the source object when the user starts to drag a text selection or selected object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `DragEvent` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondragstart
```

##### ondrop

```ts
ondrop: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drop_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `DragEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondrop
```

##### ondurationchange

```ts
ondurationchange: (this, ev) => any;
```

Occurs when the duration attribute is updated.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ondurationchange
```

##### onemptied

```ts
onemptied: (this, ev) => any;
```

Occurs when the media element is reset to its initial state.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onemptied
```

##### onended

```ts
onended: (this, ev) => any;
```

Occurs when the end of playback is reached.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onended
```

##### onerror

```ts
onerror: OnErrorEventHandlerNonNull;
```

Fires when an error occurs during object loading.

###### Param

The event.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event)

###### Inherited from

```ts
GlobalEventHandlers.onerror
```

##### onfocus

```ts
onfocus: (this, ev) => any;
```

Fires when the object receives focus.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `FocusEvent` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onfocus
```

##### onformdata

```ts
onformdata: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `FormDataEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onformdata
```

##### ongamepadconnected

```ts
ongamepadconnected: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepadconnected_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `GamepadEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.ongamepadconnected
```

##### ongamepaddisconnected

```ts
ongamepaddisconnected: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepaddisconnected_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `GamepadEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.ongamepaddisconnected
```

##### ongotpointercapture

```ts
ongotpointercapture: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ongotpointercapture
```

##### onhashchange

```ts
onhashchange: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/hashchange_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `HashChangeEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onhashchange
```

##### oninput

```ts
oninput: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oninput
```

##### oninvalid

```ts
oninvalid: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.oninvalid
```

##### onkeydown

```ts
onkeydown: (this, ev) => any;
```

Fires when the user presses a key.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `KeyboardEvent` | The keyboard event [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onkeydown
```

##### ~~onkeypress~~

```ts
onkeypress: (this, ev) => any;
```

Fires when the user presses an alphanumeric key.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `KeyboardEvent` | The event. |

###### Returns

`any`

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event)

###### Inherited from

```ts
GlobalEventHandlers.onkeypress
```

##### onkeyup

```ts
onkeyup: (this, ev) => any;
```

Fires when the user releases a key.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `KeyboardEvent` | The keyboard event [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onkeyup
```

##### onlanguagechange

```ts
onlanguagechange: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/languagechange_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onlanguagechange
```

##### onload

```ts
onload: (this, ev) => any;
```

Fires immediately after the browser loads the object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onload
```

##### onloadeddata

```ts
onloadeddata: (this, ev) => any;
```

Occurs when media data is loaded at the current playback position.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onloadeddata
```

##### onloadedmetadata

```ts
onloadedmetadata: (this, ev) => any;
```

Occurs when the duration and dimensions of the media have been determined.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onloadedmetadata
```

##### onloadstart

```ts
onloadstart: (this, ev) => any;
```

Occurs when Internet Explorer begins looking for media data.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onloadstart
```

##### onlostpointercapture

```ts
onlostpointercapture: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onlostpointercapture
```

##### onmessage

```ts
onmessage: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/message_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `MessageEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onmessage
```

##### onmessageerror

```ts
onmessageerror: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/messageerror_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `MessageEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onmessageerror
```

##### onmousedown

```ts
onmousedown: (this, ev) => any;
```

Fires when the user clicks the object with either mouse button.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onmousedown
```

##### onmouseenter

```ts
onmouseenter: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseenter_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `MouseEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onmouseenter
```

##### onmouseleave

```ts
onmouseleave: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseleave_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `MouseEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onmouseleave
```

##### onmousemove

```ts
onmousemove: (this, ev) => any;
```

Fires when the user moves the mouse over the object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onmousemove
```

##### onmouseout

```ts
onmouseout: (this, ev) => any;
```

Fires when the user moves the mouse pointer outside the boundaries of the object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onmouseout
```

##### onmouseover

```ts
onmouseover: (this, ev) => any;
```

Fires when the user moves the mouse pointer into the object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onmouseover
```

##### onmouseup

```ts
onmouseup: (this, ev) => any;
```

Fires when the user releases a mouse button while the mouse is over the object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `MouseEvent` | The mouse event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onmouseup
```

##### onoffline

```ts
onoffline: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/offline_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onoffline
```

##### ononline

```ts
ononline: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/online_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.ononline
```

##### ~~onorientationchange~~

```ts
onorientationchange: (this, ev) => any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | [`Window`](#window) |
| `ev` | `Event` |

###### Returns

`any`

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event)

##### onpagehide

```ts
onpagehide: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `PageTransitionEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onpagehide
```

##### onpageshow

```ts
onpageshow: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `PageTransitionEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onpageshow
```

##### onpaste

```ts
onpaste: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/paste_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `ClipboardEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpaste
```

##### onpause

```ts
onpause: (this, ev) => any;
```

Occurs when playback is paused.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpause
```

##### onplay

```ts
onplay: (this, ev) => any;
```

Occurs when the play method is requested.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onplay
```

##### onplaying

```ts
onplaying: (this, ev) => any;
```

Occurs when the audio or video has started playing.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onplaying
```

##### onpointercancel

```ts
onpointercancel: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointercancel_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointercancel
```

##### onpointerdown

```ts
onpointerdown: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerdown_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointerdown
```

##### onpointerenter

```ts
onpointerenter: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerenter_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointerenter
```

##### onpointerleave

```ts
onpointerleave: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerleave_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointerleave
```

##### onpointermove

```ts
onpointermove: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointermove_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointermove
```

##### onpointerout

```ts
onpointerout: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerout_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointerout
```

##### onpointerover

```ts
onpointerover: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointerover
```

##### onpointerup

```ts
onpointerup: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `PointerEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onpointerup
```

##### onpopstate

```ts
onpopstate: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `PopStateEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onpopstate
```

##### onprogress

```ts
onprogress: (this, ev) => any;
```

Occurs to indicate progress while downloading media data.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `ProgressEvent` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onprogress
```

##### onratechange

```ts
onratechange: (this, ev) => any;
```

Occurs when the playback rate is increased or decreased.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onratechange
```

##### onrejectionhandled

```ts
onrejectionhandled: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `PromiseRejectionEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onrejectionhandled
```

##### onreset

```ts
onreset: (this, ev) => any;
```

Fires when the user resets a form.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onreset
```

##### onresize

```ts
onresize: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/resize_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `UIEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onresize
```

##### onscroll

```ts
onscroll: (this, ev) => any;
```

Fires when the user repositions the scroll box in the scroll bar on the object.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onscroll
```

##### onscrollend

```ts
onscrollend: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onscrollend
```

##### onsecuritypolicyviolation

```ts
onsecuritypolicyviolation: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `SecurityPolicyViolationEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onsecuritypolicyviolation
```

##### onseeked

```ts
onseeked: (this, ev) => any;
```

Occurs when the seek operation ends.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onseeked
```

##### onseeking

```ts
onseeking: (this, ev) => any;
```

Occurs when the current playback position is moved.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onseeking
```

##### onselect

```ts
onselect: (this, ev) => any;
```

Fires when the current selection changes.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onselect
```

##### onselectionchange

```ts
onselectionchange: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/selectionchange_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onselectionchange
```

##### onselectstart

```ts
onselectstart: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/selectstart_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onselectstart
```

##### onslotchange

```ts
onslotchange: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/slotchange_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onslotchange
```

##### onstalled

```ts
onstalled: (this, ev) => any;
```

Occurs when the download has stopped.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onstalled
```

##### onstorage

```ts
onstorage: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/storage_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `StorageEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onstorage
```

##### onsubmit

```ts
onsubmit: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `SubmitEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onsubmit
```

##### onsuspend

```ts
onsuspend: (this, ev) => any;
```

Occurs if the load operation has been intentionally halted.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onsuspend
```

##### ontimeupdate

```ts
ontimeupdate: (this, ev) => any;
```

Occurs to indicate the current playback position.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontimeupdate
```

##### ontoggle

```ts
ontoggle: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/toggle_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontoggle
```

##### ontouchcancel?

```ts
optional ontouchcancel?: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TouchEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontouchcancel
```

##### ontouchend?

```ts
optional ontouchend?: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TouchEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontouchend
```

##### ontouchmove?

```ts
optional ontouchmove?: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TouchEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontouchmove
```

##### ontouchstart?

```ts
optional ontouchstart?: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TouchEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontouchstart
```

##### ontransitioncancel

```ts
ontransitioncancel: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TransitionEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontransitioncancel
```

##### ontransitionend

```ts
ontransitionend: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TransitionEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontransitionend
```

##### ontransitionrun

```ts
ontransitionrun: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TransitionEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontransitionrun
```

##### ontransitionstart

```ts
ontransitionstart: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `TransitionEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.ontransitionstart
```

##### onunhandledrejection

```ts
onunhandledrejection: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `PromiseRejectionEvent` |

###### Returns

`any`

###### Inherited from

```ts
WindowEventHandlers.onunhandledrejection
```

##### ~~onunload~~

```ts
onunload: (this, ev) => any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `WindowEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)

###### Inherited from

```ts
WindowEventHandlers.onunload
```

##### onvolumechange

```ts
onvolumechange: (this, ev) => any;
```

Occurs when the volume is changed, or playback is muted or unmuted.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onvolumechange
```

##### onwaiting

```ts
onwaiting: (this, ev) => any;
```

Occurs when playback stops because the next frame of a video resource is not available.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `this` | `GlobalEventHandlers` | - |
| `ev` | `Event` | The event. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event) |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onwaiting
```

##### ~~onwebkitanimationend~~

```ts
onwebkitanimationend: (this, ev) => any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Deprecated

This is a legacy alias of `onanimationend`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)

###### Inherited from

```ts
GlobalEventHandlers.onwebkitanimationend
```

##### ~~onwebkitanimationiteration~~

```ts
onwebkitanimationiteration: (this, ev) => any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Deprecated

This is a legacy alias of `onanimationiteration`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)

###### Inherited from

```ts
GlobalEventHandlers.onwebkitanimationiteration
```

##### ~~onwebkitanimationstart~~

```ts
onwebkitanimationstart: (this, ev) => any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Deprecated

This is a legacy alias of `onanimationstart`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)

###### Inherited from

```ts
GlobalEventHandlers.onwebkitanimationstart
```

##### ~~onwebkittransitionend~~

```ts
onwebkittransitionend: (this, ev) => any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `Event` |

###### Returns

`any`

###### Deprecated

This is a legacy alias of `ontransitionend`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)

###### Inherited from

```ts
GlobalEventHandlers.onwebkittransitionend
```

##### onwheel

```ts
onwheel: (this, ev) => any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/wheel_event)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `this` | `GlobalEventHandlers` |
| `ev` | `WheelEvent` |

###### Returns

`any`

###### Inherited from

```ts
GlobalEventHandlers.onwheel
```

##### opener

```ts
opener: any;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/opener)

<a id="orientation"></a>

##### ~~orientation~~

```ts
readonly orientation: number;
```

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)

##### origin

```ts
readonly origin: string;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin)

###### Inherited from

```ts
WindowOrWorkerGlobalScope.origin
```

##### outerHeight

```ts
readonly outerHeight: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight)

<a id="outerwidth"></a>

##### outerWidth

```ts
readonly outerWidth: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth)

<a id="pagexoffset"></a>

##### ~~pageXOffset~~

```ts
readonly pageXOffset: number;
```

###### Deprecated

This is a legacy alias of `scrollX`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)

##### ~~pageYOffset~~

```ts
readonly pageYOffset: number;
```

###### Deprecated

This is a legacy alias of `scrollY`.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)

##### parent

```ts
readonly parent: Window;
```

Refers to either the parent WindowProxy, or itself.

It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/parent)

##### performance

```ts
readonly performance: Performance;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance)

###### Inherited from

```ts
WindowOrWorkerGlobalScope.performance
```

##### personalbar

```ts
readonly personalbar: BarProp;
```

Returns true if the personal bar is visible; otherwise, returns false.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/personalbar)

##### screen

```ts
readonly screen: Screen;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screen)

<a id="screenleft"></a>

##### screenLeft

```ts
readonly screenLeft: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenLeft)

<a id="screentop"></a>

##### screenTop

```ts
readonly screenTop: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenTop)

<a id="screenx"></a>

##### screenX

```ts
readonly screenX: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenX)

<a id="screeny"></a>

##### screenY

```ts
readonly screenY: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenY)

<a id="scrollbars"></a>

##### scrollbars

```ts
readonly scrollbars: BarProp;
```

Returns true if the scrollbars are visible; otherwise, returns false.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollbars)

##### scrollX

```ts
readonly scrollX: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)

<a id="scrolly"></a>

##### scrollY

```ts
readonly scrollY: number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)

<a id="self"></a>

##### self

```ts
readonly self: Window & typeof globalThis;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/self)

<a id="sessionstorage"></a>

##### sessionStorage

```ts
readonly sessionStorage: Storage;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage)

###### Inherited from

```ts
WindowSessionStorage.sessionStorage
```

##### speechSynthesis

```ts
readonly speechSynthesis: SpeechSynthesis;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/speechSynthesis)

<a id="status"></a>

##### ~~status~~

```ts
status: string;
```

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)

##### statusbar

```ts
readonly statusbar: BarProp;
```

Returns true if the status bar is visible; otherwise, returns false.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/statusbar)

##### toolbar

```ts
readonly toolbar: BarProp;
```

Returns true if the toolbar is visible; otherwise, returns false.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/toolbar)

##### top

```ts
readonly top: Window;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/top)

<a id="visualviewport"></a>

##### visualViewport

```ts
readonly visualViewport: VisualViewport;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/visualViewport)

<a id="window-1"></a>

##### window

```ts
readonly window: Window & typeof globalThis;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/window)

#### Accessors

<a id="location"></a>

##### location

###### Get Signature

```ts
get location(): Location;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)

###### Returns

`Location`

###### Set Signature

```ts
set location(href): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `href` | `string` \| `Location` |

###### Returns

`void`

#### Methods

##### addEventListener()

###### Call Signature

```ts
addEventListener<K>(
   type, 
   listener, 
   options?): void;
```

Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.

The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.

When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.

When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.

When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.

If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.

The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)

###### Type Parameters

| Type Parameter |
| ------ |
| `K` *extends* keyof `WindowEventMap` |

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `type` | `K` |
| `listener` | (`this`, `ev`) => `any` |
| `options?` | `boolean` \| `AddEventListenerOptions` |

###### Returns

`void`

###### Overrides

```ts
EventTarget.addEventListener
```

###### Call Signature

```ts
addEventListener(
   type, 
   listener, 
   options?): void;
```

Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.

The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.

When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.

When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.

When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.

If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.

The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `type` | `string` |
| `listener` | `EventListenerOrEventListenerObject` |
| `options?` | `boolean` \| `AddEventListenerOptions` |

###### Returns

`void`

###### Overrides

```ts
EventTarget.addEventListener
```

##### alert()

```ts
alert(message?): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `message?` | `any` |

###### Returns

`void`

<a id="atob"></a>

##### atob()

```ts
atob(data): string;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `data` | `string` |

###### Returns

`string`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.atob
```

##### ~~blur()~~

```ts
blur(): void;
```

###### Returns

`void`

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur)

##### btoa()

```ts
btoa(data): string;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `data` | `string` |

###### Returns

`string`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.btoa
```

##### cancelAnimationFrame()

```ts
cancelAnimationFrame(handle): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `handle` | `number` |

###### Returns

`void`

###### Inherited from

```ts
AnimationFrameProvider.cancelAnimationFrame
```

##### cancelIdleCallback()

```ts
cancelIdleCallback(handle): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `handle` | `number` |

###### Returns

`void`

<a id="captureevents"></a>

##### ~~captureEvents()~~

```ts
captureEvents(): void;
```

###### Returns

`void`

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/captureEvents)

##### clearInterval()

```ts
clearInterval(id): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `id` | `number` |

###### Returns

`void`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.clearInterval
```

##### clearTimeout()

```ts
clearTimeout(id): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `id` | `number` |

###### Returns

`void`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.clearTimeout
```

##### close()

```ts
close(): void;
```

Closes the window.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/close)

###### Returns

`void`

##### confirm()

```ts
confirm(message?): boolean;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/confirm)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `message?` | `string` |

###### Returns

`boolean`

<a id="createimagebitmap"></a>

##### createImageBitmap()

###### Call Signature

```ts
createImageBitmap(image, options?): Promise<ImageBitmap>;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `image` | `ImageBitmapSource` |
| `options?` | `ImageBitmapOptions` |

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`ImageBitmap`\>

###### Inherited from

```ts
WindowOrWorkerGlobalScope.createImageBitmap
```

###### Call Signature

```ts
createImageBitmap(
   image, 
   sx, 
   sy, 
   sw, 
   sh, 
options?): Promise<ImageBitmap>;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `image` | `ImageBitmapSource` |
| `sx` | `number` |
| `sy` | `number` |
| `sw` | `number` |
| `sh` | `number` |
| `options?` | `ImageBitmapOptions` |

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`ImageBitmap`\>

###### Inherited from

```ts
WindowOrWorkerGlobalScope.createImageBitmap
```

##### dispatchEvent()

```ts
dispatchEvent(event): boolean;
```

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `event` | `Event` |

###### Returns

`boolean`

###### Inherited from

```ts
EventTarget.dispatchEvent
```

##### fetch()

```ts
fetch(input, init?): Promise<Response>;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `input` | `URL` \| `RequestInfo` |
| `init?` | `RequestInit` |

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`Response`\>

###### Inherited from

```ts
WindowOrWorkerGlobalScope.fetch
```

##### focus()

```ts
focus(): void;
```

Moves the focus to the window's browsing context, if any.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/focus)

###### Returns

`void`

##### getComputedStyle()

```ts
getComputedStyle(elt, pseudoElt?): CSSStyleDeclaration;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `elt` | `Element` |
| `pseudoElt?` | `string` |

###### Returns

`CSSStyleDeclaration`

<a id="getselection"></a>

##### getSelection()

```ts
getSelection(): Selection;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getSelection)

###### Returns

`Selection`

<a id="matchmedia"></a>

##### matchMedia()

```ts
matchMedia(query): MediaQueryList;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/matchMedia)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `query` | `string` |

###### Returns

`MediaQueryList`

<a id="moveby"></a>

##### moveBy()

```ts
moveBy(x, y): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveBy)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `x` | `number` |
| `y` | `number` |

###### Returns

`void`

<a id="moveto"></a>

##### moveTo()

```ts
moveTo(x, y): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveTo)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `x` | `number` |
| `y` | `number` |

###### Returns

`void`

<a id="open"></a>

##### open()

```ts
open(
   url?, 
   target?, 
   features?): Window;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/open)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `url?` | `string` \| `URL` |
| `target?` | `string` |
| `features?` | `string` |

###### Returns

[`Window`](#window)

<a id="postmessage"></a>

##### postMessage()

###### Call Signature

```ts
postMessage(
   message, 
   targetOrigin, 
   transfer?): void;
```

Posts a message to the given window. Messages can be structured objects, e.g. nested objects and arrays, can contain JavaScript values (strings, numbers, Date objects, etc), and can contain certain data objects such as File Blob, FileList, and ArrayBuffer objects.

Objects listed in the transfer member of options are transferred, not just cloned, meaning that they are no longer usable on the sending side.

A target origin can be specified using the targetOrigin member of options. If not provided, it defaults to "/". This default restricts the message to same-origin targets only.

If the origin of the target window doesn't match the given target origin, the message is discarded, to avoid information leakage. To send the message to the target regardless of origin, set the target origin to "*".

Throws a "DataCloneError" DOMException if transfer array contains duplicate objects or if message could not be cloned.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `message` | `any` |
| `targetOrigin` | `string` |
| `transfer?` | `Transferable`[] |

###### Returns

`void`

###### Call Signature

```ts
postMessage(message, options?): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `message` | `any` |
| `options?` | `WindowPostMessageOptions` |

###### Returns

`void`

##### print()

```ts
print(): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print)

###### Returns

`void`

<a id="prompt"></a>

##### prompt()

```ts
prompt(message?, default?): string;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/prompt)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `message?` | `string` |
| `default?` | `string` |

###### Returns

`string`

<a id="queuemicrotask"></a>

##### queueMicrotask()

```ts
queueMicrotask(callback): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callback` | `VoidFunction` |

###### Returns

`void`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.queueMicrotask
```

##### ~~releaseEvents()~~

```ts
releaseEvents(): void;
```

###### Returns

`void`

###### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/releaseEvents)

##### removeEventListener()

###### Call Signature

```ts
removeEventListener<K>(
   type, 
   listener, 
   options?): void;
```

Removes the event listener in target's event listener list with the same type, callback, and options.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)

###### Type Parameters

| Type Parameter |
| ------ |
| `K` *extends* keyof `WindowEventMap` |

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `type` | `K` |
| `listener` | (`this`, `ev`) => `any` |
| `options?` | `boolean` \| `EventListenerOptions` |

###### Returns

`void`

###### Overrides

```ts
EventTarget.removeEventListener
```

###### Call Signature

```ts
removeEventListener(
   type, 
   listener, 
   options?): void;
```

Removes the event listener in target's event listener list with the same type, callback, and options.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `type` | `string` |
| `listener` | `EventListenerOrEventListenerObject` |
| `options?` | `boolean` \| `EventListenerOptions` |

###### Returns

`void`

###### Overrides

```ts
EventTarget.removeEventListener
```

##### reportError()

```ts
reportError(e): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `e` | `any` |

###### Returns

`void`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.reportError
```

##### requestAnimationFrame()

```ts
requestAnimationFrame(callback): number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callback` | `FrameRequestCallback` |

###### Returns

`number`

###### Inherited from

```ts
AnimationFrameProvider.requestAnimationFrame
```

##### requestIdleCallback()

###### Call Signature

```ts
requestIdleCallback(callback, options?): number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestIdleCallback)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callback` | `IdleRequestCallback` |
| `options?` | `IdleRequestOptions` |

###### Returns

`number`

###### Call Signature

```ts
requestIdleCallback(callback): () => void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `callback` | (`deadline`) => `void` |

###### Returns

() => `void`

##### resizeBy()

```ts
resizeBy(x, y): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeBy)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `x` | `number` |
| `y` | `number` |

###### Returns

`void`

<a id="resizeto"></a>

##### resizeTo()

```ts
resizeTo(width, height): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeTo)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `width` | `number` |
| `height` | `number` |

###### Returns

`void`

<a id="scroll"></a>

##### scroll()

###### Call Signature

```ts
scroll(options?): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `options?` | `ScrollToOptions` |

###### Returns

`void`

###### Call Signature

```ts
scroll(x, y): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `x` | `number` |
| `y` | `number` |

###### Returns

`void`

##### scrollBy()

###### Call Signature

```ts
scrollBy(options?): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `options?` | `ScrollToOptions` |

###### Returns

`void`

###### Call Signature

```ts
scrollBy(x, y): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `x` | `number` |
| `y` | `number` |

###### Returns

`void`

##### scrollTo()

###### Call Signature

```ts
scrollTo(options?): void;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `options?` | `ScrollToOptions` |

###### Returns

`void`

###### Call Signature

```ts
scrollTo(x, y): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `x` | `number` |
| `y` | `number` |

###### Returns

`void`

##### setInterval()

```ts
setInterval(
   handler, 
   timeout?, ...
   arguments): number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `handler` | `TimerHandler` |
| `timeout?` | `number` |
| ...`arguments?` | `any`[] |

###### Returns

`number`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.setInterval
```

##### setTimeout()

```ts
setTimeout(
   handler, 
   timeout?, ...
   arguments): number;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `handler` | `TimerHandler` |
| `timeout?` | `number` |
| ...`arguments?` | `any`[] |

###### Returns

`number`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.setTimeout
```

##### stop()

```ts
stop(): void;
```

Cancels the document load.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/stop)

###### Returns

`void`

##### structuredClone()

```ts
structuredClone<T>(value, options?): T;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone)

###### Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `T` | `any` |

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `T` |
| `options?` | [`StructuredSerializeOptions`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/clone.md#structuredserializeoptions) |

###### Returns

`T`

###### Inherited from

```ts
WindowOrWorkerGlobalScope.structuredClone
```

## Variables

### Array

```ts
Array: ArrayConstructor;
```

***

### path

```ts
path: string;
```

***

### Window

```ts
Window: {
(): Window;
  prototype: Window;
};
```

#### Type Declaration

#### Returns

[`Window`](#window)

##### prototype

```ts
prototype: Window;
```
