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

Behaviors

The following behaviors ship with Atlas.

Sys.UI.Behavior (General Class)

Method

Description

get_dataContext()

Returns the behavior’s data context

setOwner(control)

Links the behavior to its owner element

Sys.UI.PopupBehavior

Method

Description

get_parentElement()

Returns the parent element of the pop-up

set_parentElement(element)

Sets the parent element of the pop-up

get_positioningMode()

Returns the positioning mode of the pop-up

set_positioningMode(mode)

Sets the positioning mode of the pop-up

get_x()

Returns the horizontal position of the pop-up

set_x(x)

Sets the horizontal position of the pop-up

get_y()

Returns the vertical position of the pop-up

set_y(y)

Sets the vertical position of the pop-up

hide()

Hides the pop-up

show()

Shows the pop-up

initialize()

Initializes the behavior

Sys.UI.ClickBehavior

Method

Description

clickHandler()

Emulates a click

initialize()

Initializes the behavior

Sys.UI.HoverBehavior

Method

Description

get_hoverElement()

Returns the element to hover over

set_hoverElement(element)

Sets the element to hover over

get_unhoverDelay()

Returns the unhover delay (in milliseconds)

set_unhoverDelay(ms)

Sets the unhover delay (in milliseconds)

initialize()

Initializes the behavior

Sys.UI.AutoCompleteBehavior

Method

Description

get_completionInterval()

Returns the interval after which the field entry is completed

set_completionInterval(value) ...

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