Web Controls

Atlas implements the Sys.UI namespace, which contains several web controls useful to the Atlas developer. Every control in Sys.UI supports the following two properties:

Property

Description

element

The associated Atlas client-side control

element.control

The associated HTML element

Sys.UI.Control (General Class)

Method

Description

Sys.UI.Control(associatedElement)

Constructor, providing the associated HTML element

get_accesskey()

Returns the element’s access key

set_accesskey(value)

Sets the element’s access key

get_associatedElement()

Returns the element’s associated element

get_behaviors()

Returns a list of all behaviors attached to the element

get_cssClass()

Returns the element’s CSS class

set_cssClass(value)

Sets the element’s CSS class

get_dataContext()

Returns the element’s data context

get_enabled()

Whether the element is enabled or not

set_enabled(value)

Enables or disables the element

get_parent()

Returns the element’s parent element

set_parent(value)

Sets the element’s parent element

get_style()

Returns the element’s style property

get_tabIndex()

Returns the element’s tabindex property

set_tabIndex(value)

Sets the element’s tabindex property

get_visibilityMode()

Returns the element’s display mode

set_visibilityMode(value)

Sets the element’s display mode

get_visible()

Whether the element is visible or not

set_visible(value)

Makes ...

Get Programming Atlas now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.