Skip to content

YUISplitButton

Standard YUI SplitButton.

Extends HTMLObject

Extends SeSSimulatedObject

Behavior Pattern: YUISplitButtonBehavior

Property Summary

Property Description Getter Setter
Active Active state of the button. GetActive

Action Summary

Action Description
DoClick Clicks the button.
DoMenu Clicks menu of the split button.

Property Detail

Active

Active state of the button. If the button is active it is highlighted in YUI. Usually to make an object Active user needs to move mouse over the object.

Type: Boolean

Accessors: GetActive

value = SeS('SomeYUISplitButton').GetActive()

Action Detail

DoClick

Clicks the button.

SeS('SomeYUISplitButton').DoClick(x, y)

Parameters:

Name Type Description
x number x coordinate to click
Optional.
y number y coordinate to click
Optional.

Returns:

boolean: 'true' if successful, 'false' otherwise

DoMenu

Clicks menu of the split button.

SeS('SomeYUISplitButton').DoMenu()

Returns:

boolean: 'true' if successful, 'false' otherwise