Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

org.webjars.bower:angular-loading-spinner

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.webjars.bower:angular-loading-spinner

WebJar for angular-loading-spinner

  • 0.0.3
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

angular-loading-spinner

Angular directive ajax loading indicator. This directive uses urish angular-spinner as the loading indicator.

Demo

See plunker demo.

Usage

Include dependencies in your application:

  • angular.js
  • spin.js
  • angular-spinner.js
  • angular-loading-spinner.js
  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.min.js"></script>
  <script type="text/javascript" src="http://fgnass.github.io/spin.js/spin.min.js"></script>
  <script type="text/javascript" src="angular-spinner.min.js"></script>
  <script type="text/javascript" src="angular-loading-spinner.js"></script>

Require ngLoadingSpinner as dependency in your main module.

  angular.module('myapp', ['ngLoadingSpinner']);

Insert angular-spinner's us-spinner directive anywhere in your html file to be shown when there is pending ajax request and will be hidden upon completion of all ajax requests.

This directive also exposes spinnerActive model to the $rootScope with a boolean value. It can be useful if you want to hide some elements while your application is fetching data from the backend.

Read angular-spinner docs on how to customize the spinner and refer to spin.js docs for more configuration options.

License

Released under the terms of MIT License.

FAQs

Package last updated on 11 May 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc