O'Reilly logo

Programming Atlas by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required