XUL Widgets: Attributes, Properties, and Methods
The following list describes the inventory of attributes, properties, and methods used by the XUL elements that are accessible from JavaScript code.
Tip
Although all JavaScript-managed attributes are accessed as strings, this glossary adds data types to provide guidance if the string value should represent a specific type. Examples of these types include Boolean, integer, and the name of a required interface. Properties without such qualifiers are presumed to be strings whose context is set by the application or by a specific interface design (e.g., the “ID” of widget). For ease of reference and to distinguish them from their data types, attribute, property, and method names are set in boldface font.
-
nsIAccessible
accessible
The
accessible
property is available on all elements that inherit from thensIAccessible
interface. The interface provides assistive technology services similar to those of the Accessibility Toolkit (ATK) and Microsoft Active Accessibility (MSAA).-
char
accessKey
The character used as a keyboard accelerator; when coupled with an operating-system-specific keyboard combination, it triggers the control actuation.
-
boolean
afterselected
When assigned to a tab, returns
true
if the tab is immediately after the currently selected tab.-
align
Sets the alignment characteristics of the button in a manner consistent with all box containers. Interpretation of the
align
attribute is subject to thedir
attribute:"start"
Elements ...
Get Programming Firefox now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.