New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nativescript-material-loading-indicator

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-material-loading-indicator

This package installs an activity indicator for iOS inspired by the material design indicator of Android

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

NativeScript Material design activity indicator for iOS

Following the material design loading indicator for Android, this plugin provides the same look and feel for iOS.

Prerequisites

NativeScript 1.3.0 (tns --version) has solved many build issues, so please upgrade if you need to.

Installation

From the command prompt go to your app's root folder and execute:

tns plugin add nativescript-material-loading-indicator

Usage

function creatingView(args) {

  var spinnerView = MMMaterialDesignSpinner.alloc().initWithFrame(CGRectMake(0,0,40,40));
    spinnerView.lineWidth = 1.5;
    spinnerView.tintColor = UIColor.redColor();

    spinnerView.startAnimating();
    args.view = spinnerView;

}

exports.creatingView = creatingView;
<Page xmlns="http://www.nativescript.org/tns.xsd">
      <Placeholder creatingView="creatingView"/>
</Page>

FAQs

Package last updated on 16 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts