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:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A simple NativeScript plugin for controlling status bar visibility.
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.
// Get reference to the Status Bar plugin module import statusBar = require("nativescript-status-bar");
// Get reference to the Status Bar plugin module import * as statusBar from 'nativescript-status-bar'
Shows the status bar.
Hides the status bar.