https://github.com/peterstaev/nativescript-status-bar
A simple NativeScript plugin for controlling status bar visibility.
https://github.com/peterstaev/nativescript-status-bar
nativescript statusbar
Last synced: about 1 month ago
JSON representation
A simple NativeScript plugin for controlling status bar visibility.
- Host: GitHub
- URL: https://github.com/peterstaev/nativescript-status-bar
- Owner: PeterStaev
- License: apache-2.0
- Created: 2016-02-01T16:14:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-29T19:57:48.000Z (almost 6 years ago)
- Last Synced: 2025-04-24T05:18:42.348Z (about 1 month ago)
- Topics: nativescript, statusbar
- Language: JavaScript
- Size: 3.35 MB
- Stars: 16
- Watchers: 2
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NativeScript StatusBar plugin
[](https://travis-ci.org/PeterStaev/NativeScript-Status-Bar)
[](https://www.npmjs.com/package/nativescript-status-bar)
[](https://www.npmjs.com/package/nativescript-status-bar)
[](https://www.npmjs.com/package/nativescript-status-bar)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
```TypeScript
// Get reference to the Status Bar plugin module
import statusBar = require("nativescript-status-bar");
```For Angular:
```TypeScript
// 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.