Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including nativescript-status-bar with all npm packages installed. Try it out:

var nativescriptStatusBar = require("nativescript-status-bar")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nativescript-status-bar v1.2.0

A simple NativeScript plugin for controlling status bar visibility.

Build Status npm downloads npm downloads npm

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.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free