Statusbar

The Statusbar API allows the user to toggle the visibility of the statusbar.

Install

//with npm
npm install @capacitor/status-bar


Usage

transition({
	type: MOBILE_STATUSBAR,
	isShow: true
})


API

ID Next States Description
MOBILE_STATUSBAR MOBILE_ON_LOADED This transition toggles the visibility of the status bar


Properties

name type default description
isShow boolean Visibility of the status bar. Passing true displays the statu sbar and passing false hides the status bar