JavaScript

A5.ControlBarDisclosure Object

Description

Definition of a named disclosure.

Properties

typestring

The type of disclosure. The value can be "static" (the default) or "template". A "static" disclosure will inject the HTML into the disclosure when the control bar is created. A "template" disclosure will be redrawn frequently and can use control bar items by placing item names between square brackets. For example "[help]" would inject the item named "help".

htmlstring

The HTML to put in the disclosure.

classNamestring

The class name to put on the disclosure. If not specified, the default class name from A5.ControlBar.disclosure.defaults.className will be used.

onInitializefunction

Event that fires when the disclosure is initially created.

elementobject

The DOM element for the disclosure.

onBeforeDrawfunction

Event that fires before the disclosure is drawn when the disclosure is of the "template" type.

elementobject

The DOM element for the disclosure.

onDrawfunction

Event that fires when the disclosure is drawn when the disclosure is of the "template" type.

elementobject

The DOM element for the disclosure.

onSizefunction

Event that fires when the disclosure is sized.

elementobject

The DOM element for the disclosure.

onShowfunction

Event that fires when the disclosure is shown.

elementobject

The DOM element for the disclosure.

onShowCompletefunction

Event that fires when the disclosure finishes being shown.

elementobject

The DOM element for the disclosure.

onHidefunction

Event that fires when the disclosure is hidden.

elementobject

The DOM element for the disclosure.