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

Action Detail

DoClick(x, y)

Clicks the button.

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.

Returns:

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