# BarItemType

Object describing a button bar or tabbed bar item.

Availability
0.8
0.8
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Overview

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

# accessibilityLabel

Availability
3.0.0
9.2.0
accessibilityLabel :String

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

See accessibilityLabel description.


# enabled

Availability
0.8
0.8
9.2.0
enabled :Boolean

Whether the button is enabled initially.

Default: true


# image

Availability
0.8
0.8
9.2.0

Button icon. If specified, takes precedence over title.


# title

Availability
0.8
0.8
9.2.0
title :String

Button title, used if no image is specified.


# width

Availability
0.8
0.8
9.2.0
width :Number

Width for this button.