Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

A simple NativeScript plugin for controlling status bar visibility.

Awesome Lists containing this project

README

        

# NativeScript StatusBar plugin
[![Build Status](https://travis-ci.org/PeterStaev/NativeScript-Status-Bar.svg?branch=master)](https://travis-ci.org/PeterStaev/NativeScript-Status-Bar)
[![npm downloads](https://img.shields.io/npm/dm/nativescript-status-bar.svg)](https://www.npmjs.com/package/nativescript-status-bar)
[![npm downloads](https://img.shields.io/npm/dt/nativescript-status-bar.svg)](https://www.npmjs.com/package/nativescript-status-bar)
[![npm](https://img.shields.io/npm/v/nativescript-status-bar.svg)](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.