Hierarchy

  • HeaderBarItemIOSProps

Properties

Gets systemItem of header bar item. SystemItem only set in constructor of headerBarItem.

Example

var myItem = new HeaderBarItem({
ios:{
systemItem : HeaderBarItem.iOS.SystemItem.TRASH
},
onPress: function() {
console.log("You pressed TRASH item!");
}
});
this.headerBar.setItems([myItem]);

Property

Ios

Since

3.2.1

font: IFont

Gets/sets font of header bar item.

Property

Ios

Since

4.0.0

translucent: boolean

A Boolean value that indicates whether the header bar is translucent. For iOS, you should access this property from page.parentController.

Ios

Default

false

titleFont: IFont

Gets/sets titleFont of header bar title. You should access this property from page.parentController.

backBarButtonItem: IHeaderBarItem

Gets/sets backBarButtonItem of the header bar. When it set, it will change the next page's back button appearance. This change can be observed only on the pages that added to navigator style router. Default value is undefined, it gets title value from previous page's header bar title property. Setting onPress callback of HeaderBarItem will not effect backBarButtonItem's onPress behaviour. This property will work only for iOS. You should access this property from page.parentController

Generated using TypeDoc