nativescript-status-bar
A simple NativeScript plugin for controlling status bar visibility.
npm i --save nativescript-status-bar
- Version: 1.2.0
- GitHub: https://github.com/PeterStaev/NativeScript-Status-Bar
- NPM: https://www.npmjs.com/package/nativescript-status-bar
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
A simple NativeScript plugin for controlling status bar visibility.
Installation
Run the following command from the root of your project:
tns plugin add nativescript-status-bar
This command automatically installs the necessary files, as well as stores nativescript-drop-down as a dependency in your project's package.json file.
API
// Get reference to the Status Bar plugin module
import statusBar = require("nativescript-status-bar");
For Angular:
// Get reference to the Status Bar plugin module
import * as statusBar from 'nativescript-status-bar'
-
show()
Shows the status bar. -
hide()
Hides the status bar.