Partager via


Global Namespace

This section includes members or types that extend the ECMAScript (JavaScript) Global object and other core objects.

JavaScript Base Type Extensions

Name

Description

Array Type Extensions

Provides extensions to the base JavaScript Array functionality by adding static methods.

Boolean Type Extensions

Provides extensions to the base JavaScript Boolean object.

Date Type Extensions

Provides extensions to the base JavaScript Date object.

Error Type Extensions

Provides static functions that extend the built-in JavaScript Error type by including exception details and support for application-compilation modes (debug or release).

Function Type Extensions

Provides static functions that extend the built-in ECMAScript (JavaScript) Function type by including exception details and support for application-compilation modes (debug or release).

Number Type Extensions

Extends the base JavaScript Number functionality with static and instance methods.

Object Type Extensions

Provides extended reflection-like functionality to the base JavaScript Object object.

String Type Extensions

Provides extensions to the base JavaScript String functionality with static and instance methods.

Types

Name

Description

Type Class

Provides a typing and type-reflection system for JavaScript object-oriented programming functionality.

Global Shortcuts to Commonly Used APIs

Name

Description

Sys.UI.DomEvent $addHandler Method

Provides a shortcut to the Sys.UI.DomEvent.addHandler method, which adds a DOM event handler to the DOM element that exposes the event.

Sys.UI.DomEvent.$addHandlers Method

Provides a shortcut to the Sys.UI.DomEvent addHandlers method, which adds a list of DOM event handlers to the DOM element that exposes the events.

Sys.UI.DomEvent.$clearHandlers Method

Provides a shortcut to the Sys.UI.DomEvent clearHandlers method, which removes all DOM event handlers from a DOM element that were added through the Sys.UI.DomEvent addHandler or the Sys.UI.DomEvent addHandlers methods.

Sys.Component $create Method

Provides a shortcut to the Sys.Component.create method, which creates and initializes a component of the specified type.

Sys.Application $find Method

Provides a shortcut to the Sys.Application.findComponent method, which returns the specified Component object.

Sys.UI.DomElement $get Method

Provides a shortcut to the getElementById method, which returns an array of all components that have been registered with the application by using the addComponent method.

Sys.UI.DomEvent $removeHandler Method

Provides a shortcut to the System.UI.DomEvent.removeHandler method, which removes a DOM event handler from the DOM element that exposes the event.