Property | Type | Description | |
---|---|---|---|
EventTarget | bool | ||
EventTarget | void | ||
Window | CSSStyleDeclaration | ||
Window | CSSStyleDeclaration | ||
Window | MediaQueryList | ||
Window | Window, | ||
Window | Window, | ||
Window | Window, | ||
Window | bool | ||
Window | bool | ||
Window | double | ||
Window | int | ||
Window | int | ||
Window | int | ||
Window | object | ||
Window | object | ||
Window | string | ||
Window | string | ||
Window | void | ||
Window | void | ||
Window | void | ||
Window | void | ||
Window | void | ||
Window | void | ||
window | System |
Method | Description | |
---|---|---|
addEventListener ( string type, EventHandler, handler, bool useCapture ) : void |
Registers an event handler with the target.
|
|
addEventListener ( string type, EventListener, listener, bool useCapture ) : void |
Registers an event listener with the target.
|
|
alert ( string message ) : void |
Displays an alert message.
|
|
blur ( ) : void |
Sets focus away from the window.
|
|
clearInterval ( int intervalId ) : void |
Prevents further execution of a previously created interval.
|
|
clearTimeout ( int timeoutId ) : void |
Prevents execution of a previously created timeout.
|
|
close ( ) : void |
Closes the window.
|
|
confirm ( string message ) : bool |
Displays a confirmation message.
|
|
decodeURI ( string uri ) : string |
Replaces each UTF-8 escape sequence with the character that it represents.
|
|
decodeURIComponent ( string uriComponent ) : string |
Replaces each UTF-8 escape sequence with the character representation.
|
|
dispatchEvent ( Event, evt ) : bool |
Dispatches an event through the taret.
|
|
encodeURI ( string uri ) : string |
Replaces applicable characters of a URI with their UTF-8 encoded representation.
|
|
encodeURIComponent ( string uriComponent ) : string |
Replaces applicable characters of a URI component with their UTF-8 encoded representation.
|
|
eval ( string value ) : object |
Executes a script at runtime.
|
|
focus ( ) : void |
Sets focus on the current window.
|
|
getComputedStyle ( Element elt ) : CSSStyleDeclaration |
Gets the final CSS values resulting from all CSS properties applied to an element.
|
|
getComputedStyle ( Element elt, string pseudoElt ) : CSSStyleDeclaration |
Gets the final CSS values resulting from all CSS properties applied to an element.
|
|
isFinite ( INumber value ) : bool |
Gets a value indicating whether or not the input is a finite number.
|
|
isNaN ( INumber value ) : bool |
Gets a value indicating whether or not the input is NaN.
|
|
matchMedia ( string queryString ) : MediaQueryList |
Gets a MediaQueryList object representing the specified media query string.
|
|
open ( string url ) : Window |
Opens a new window.
|
|
open ( string url, string name ) : Window |
Opens a new window.
|
|
open ( string url, string name, string features ) : Window |
Opens a new window.
|
|
parseFloat ( string value ) : double |
Converts a string to a floating point numeric value.
|
|
parseInt ( string value ) : int |
Converts a string to an integer value.
|
|
postMessage ( object message, string targetOrigin ) : void |
Sends a message to another window, which may be in a different domain.
|
|
print ( ) : void |
Opens the browser's print dialog.
|
|
prompt ( string message ) : string |
Displays a prompt requesting input from the user.
|
|
prompt ( string message, string defaultValue ) : string |
Displays a prompt requesting input from the user.
|
|
removeEventListener ( string type, EventHandler handler, bool useCapture ) : void |
Removes an event handler from a target.
|
|
removeEventListener ( string type, EventListener listener, bool useCapture ) : void |
Removes an event listener from a target.
|
|
requestAnimationFrame ( IFunction callback ) : void |
Tells the browser that you wish to perform an animation and requests that the browser schedule a repaint of the window for the next animation frame. This is provided for convenience but is not supported in all browsers, see https://developer.mozilla.org/en-US/docs/DOM/window.requestAnimationFrame#Browser_compatibility for details. |
|
scroll ( int x, int y ) : void |
Scrolls to a specific place in the document.
|
|
scrollBy ( int deltaX, int deltaY ) : void |
Scrolls the document relative to its current position.
|
|
scrollTo ( int x, int y ) : void |
Scrolls to a specific place in the document.
|
|
setInterval ( IFunction handler, int delay ) : int |
Schedules a function to run at a specific interval.
|
|
setInterval ( string code, int delay ) : int |
Schedules a code snippet to run at a specific interval.
|
|
setTimeout ( IFunction handler, int delay ) : int |
Schedules a function to run once.
|
|
setTimeout ( string code, int delay ) : int |
Schedules a code snippet to run once.
|
|
showModalDialog ( string url ) : object |
Displays a modal dialog containing another document.
|
|
showModalDialog ( string url, object argument ) : object |
Displays a modal dialog containing another document.
|
|
stop ( ) : void |
Stops window loading.
|
Method | Description | |
---|---|---|
EventTarget ( Event, evt ) : bool | ||
EventTarget ( string type, EventListener, listener, bool useCapture ) : void | ||
Window ( Element, elt ) : CSSStyleDeclaration | ||
Window ( Element, elt, string pseudoElt ) : CSSStyleDeclaration | ||
Window ( string queryString ) : MediaQueryList | ||
Window ( string url ) : Window, | ||
Window ( string url, string name ) : Window, | ||
Window ( string url, string name, string features ) : Window, | ||
Window ( INumber value ) : bool | ||
Window ( string message ) : bool | ||
Window ( string value ) : double | ||
Window ( IFunction handler, int delay ) : int | ||
Window ( string value ) : int | ||
Window ( string code, int delay ) : int | ||
Window ( string url ) : object | ||
Window ( string url, object argument ) : object | ||
Window ( string message ) : string | ||
Window ( string message, string defaultValue ) : string | ||
Window ( ) : void | ||
Window ( IFunction callback ) : void | ||
Window ( int timeoutId ) : void | ||
Window ( int x, int y ) : void | ||
Window ( object message, string targetOrigin ) : void | ||
Window ( string message ) : void | ||
window ( ) : System |
public static addEventListener ( string type, EventHandler, handler, bool useCapture ) : void | ||
type | string | The event type name. |
handler | EventHandler, | The event handler function. |
useCapture | bool | Whether or not to use capture. |
return | void |
public static addEventListener ( string type, EventListener, listener, bool useCapture ) : void | ||
type | string | The event type name. |
listener | EventListener, | The listener to register. |
useCapture | bool | Whether or not to use capture. |
return | void |
public static alert ( string message ) : void | ||
message | string | The message text. |
return | void |
public static clearInterval ( int intervalId ) : void | ||
intervalId | int | The interval ID. |
return | void |
public static clearTimeout ( int timeoutId ) : void | ||
timeoutId | int | The timeout ID. |
return | void |
public static confirm ( string message ) : bool | ||
message | string | The message text. |
return | bool |
public static decodeURI ( string uri ) : string | ||
uri | string | The URI to decode. |
return | string |
public static decodeURIComponent ( string uriComponent ) : string | ||
uriComponent | string | The URI component to decode. |
return | string |
public static dispatchEvent ( Event, evt ) : bool | ||
evt | Event, | The event object. |
return | bool |
public static encodeURI ( string uri ) : string | ||
uri | string | The URI to encode. |
return | string |
public static encodeURIComponent ( string uriComponent ) : string | ||
uriComponent | string | The URI component. |
return | string |
public static eval ( string value ) : object | ||
value | string | The script text. |
return | object |
public static getComputedStyle ( Element elt ) : CSSStyleDeclaration | ||
elt | Element | The target element. |
return | CSSStyleDeclaration |
public static getComputedStyle ( Element elt, string pseudoElt ) : CSSStyleDeclaration | ||
elt | Element | The target element. |
pseudoElt | string | The pseudo-element to match. |
return | CSSStyleDeclaration |
public static isFinite ( INumber value ) : bool | ||
value | INumber | The input value. |
return | bool |
public static isNaN ( INumber value ) : bool | ||
value | INumber | The input value. |
return | bool |
public static matchMedia ( string queryString ) : MediaQueryList | ||
queryString | string | |
return | MediaQueryList |
public static open ( string url ) : Window | ||
url | string | The URL to open. |
return | Window |
public static open ( string url, string name ) : Window | ||
url | string | The URL to open. |
name | string | The name to apply to the window. |
return | Window |
public static open ( string url, string name, string features ) : Window | ||
url | string | The URL to open. |
name | string | The name to apply to the window. |
features | string | A string representing the features available on the window. |
return | Window |
public static parseFloat ( string value ) : double | ||
value | string | The input string. |
return | double |
public static parseInt ( string value ) : int | ||
value | string | The input string. |
return | int |
public static postMessage ( object message, string targetOrigin ) : void | ||
message | object | The message data. |
targetOrigin | string | The origin for the receiving window. |
return | void |
public static prompt ( string message ) : string | ||
message | string | The prompt message. |
return | string |
public static prompt ( string message, string defaultValue ) : string | ||
message | string | The prompt message. |
defaultValue | string | The initial input value. |
return | string |
public static removeEventListener ( string type, EventHandler handler, bool useCapture ) : void | ||
type | string | The event type name. |
handler | EventHandler | The event handler function. |
useCapture | bool | Whether or not capture was used. |
return | void |
public static removeEventListener ( string type, EventListener listener, bool useCapture ) : void | ||
type | string | The event type name. |
listener | EventListener | The listener to remove. |
useCapture | bool | Whether or not capture was used. |
return | void |
public static requestAnimationFrame ( IFunction callback ) : void | ||
callback | IFunction | |
return | void |
public static scroll ( int x, int y ) : void | ||
x | int | The X position, in pixels. |
y | int | The Y position, in pixels. |
return | void |
public static scrollBy ( int deltaX, int deltaY ) : void | ||
deltaX | int | The X position change, in pixels. |
deltaY | int | The Y position change, in pixels. |
return | void |
public static scrollTo ( int x, int y ) : void | ||
x | int | The X position, in pixels. |
y | int | The Y position, in pixels. |
return | void |
public static setInterval ( IFunction handler, int delay ) : int | ||
handler | IFunction | The function to execute. |
delay | int | The delay, in milliseconds. |
return | int |
public static setInterval ( string code, int delay ) : int | ||
code | string | The code to run. |
delay | int | The delay, in milliseconds. |
return | int |
public static setTimeout ( IFunction handler, int delay ) : int | ||
handler | IFunction | The function to execute. |
delay | int | The delay, in milliseconds. |
return | int |
public static setTimeout ( string code, int delay ) : int | ||
code | string | The code to run. |
delay | int | The delay, in milliseconds. |
return | int |
public static showModalDialog ( string url ) : object | ||
url | string | The URL to show. |
return | object |
public static showModalDialog ( string url, object argument ) : object | ||
url | string | The URL to show. |
argument | object | Parameters that are passed to the document. |
return | object |