New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-treasure-overlay-spinner

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

angular-treasure-overlay-spinner

Add a spinner to an element when binding is truthy.

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
343
increased by27.04%
Maintainers
1
Weekly downloads
 
Created
Source

angular-treasure-overlay-spinner

Add a spinner to an element when binding is truthy.

treasure-overlay-spinner requires ngAnimate.

Installation

  • bower install angular-treasure-overlay-spinner
  • add angular-treasure-overlay-spinner/src/treasure-overlay-spinner.js to your html
  • add angular-treasure-overlay-spinner/src/treasure-overlay-spinner.cssto your html
  • add treasure-overlay-spinner as an angular module dependency

Usage

angular.module('example', ['treasure-overlay-spinner']);
angular.module('example').run(run);

run.$inject = ['$rootScope'];
function run ($rootScope) {
  $scope.spinner = {active true};
}
<div ng-app='example'>
  <!-- active uses two-way bindings to track the status -->
  <treasure-overlay-spinner active='spinner.active'>
    <p>This will be covered by a spinner when spinner.active is truthy</p>
  </treasure-overlay-spinner>
</div>

Example

Try the example by running:

  • npm install
  • bower install
  • npm run example

Or visit the live example.

Scripts

  • npm run example - run example server and open browser
  • npm run build - minify and copy to dist folder
  • npm run tdd - run tests whenever files change
  • npm run test - run tests

FAQs

Package last updated on 28 Mar 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