8.7 released—WinterCG Compliance Part 1
Learn more
ActionBar
Provides an abstraction over the ActionBar (android) and NavigationBar (iOS).

Summary

Constructors

constructor

Properties

actionItems
android
effectiveContentInsetLeft
effectiveContentInsetRight
flat
ios
iosIconRenderingMode
navigationButton
title
titleView
152 properties inherited from View
Click to expand

Methods

update
112 methods inherited from View
Click to expand

Constructors

constructor

new ActionBar(): ActionBar

Properties

actionItems

actionItems: ActionItems
Gets the collection of action items.

android

android: AndroidActionBarSettings
Gets the android specific options of the action bar.

effectiveContentInsetLeft

effectiveContentInsetLeft: number

effectiveContentInsetRight

effectiveContentInsetRight: number

flat

flat: boolean
Removes the shadow/border at the bottom of the ActionBar and removes translucency on iOS. Default false.

ios

ios: any
Gets the native iOS [UINavigationBar](https://developer.apple.com/documentation/uikit/uinavigationbar) that represents the user interface for this component. Valid only when running on iOS.

iosIconRenderingMode

iosIconRenderingMode: "automatic" | "alwaysOriginal" | "alwaysTemplate"
Gets or set the UIImageRenderingMode of the action bar icons in iOS. Defaults to "alwaysOriginal" Valid values are: - automatic - alwaysOriginal - alwaysTemplate
navigationButton: NavigationButton
Gets or sets the navigation button (a.k.a. the back button).

title

title: string
Gets or sets the action bar title.

titleView

titleView: View
Gets or sets the title view. When set - replaces the title with a custom view.

Methods

update

update(): any
Updates the action bar.
Returns any