Skip to content
Titanium SDK
Version12.6.4

You are reading 12.6.4. See this page in 13.4.1.

BarItemType

pseudoAndroidiPhoneiPadmacOS

Object describing a button bar or tabbed bar item.

A button bar or tabbed bar item can have an image or a title, but not both. Buttons with images and buttons with text can be mixed in the same bar, however.

If both image and title properties are specified for a given item, the image property takes precedence and the title property is ignored.

Properties 5

enabled

Boolean

Whether the button is enabled initially.

Default: true

title

String

Button title, used if no image is specified.

width

Number

Width for this button.