BarItemType

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.

  • 0.8
  • 0.8
  • 0.8

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

BarItemType
accessibilityLabel : String

A succint label associated with the bar item for the device's accessibility service.

A succint label associated with the bar item for the device's accessibility service.

See Titanium.UI.View.accessibilityLabel description.

  • 3.0.0
  • 3.0.0
BarItemType
: Boolean
Whether the button is enabled initially. ...

Whether the button is enabled initially.

Default: true

Button icon. ...

Button icon. If specified, takes precedence over title.

BarItemType
title : String

Button title, used if no image is specified.

Button title, used if no image is specified.

BarItemType
width : Number

Width for this button.

Width for this button.