🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

angular-loading-overlay

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-loading-overlay

Service and directive to manipulate overlays on async operations.

0.2.0
Source
npm
Version published
Maintainers
1
Created
Source

Build Status Code Climate Test Coverage

Angular loading overlay

The module provides your app with overlays (like "Loading...") that could be shown on async operations.
It also allows you to create preconfigured handlers and wrap promises to show and hide overlays on promise work started and finished.

Installation

bower install --save angular-loading-overlay

Docs & Examples

http://bsalex.github.io/angular-loading-overlay/_site/

Usage

In javascript

angular.module("your nodule name", [
  "bsLoadingOverlay"
]);


angular.module("your nodule name")
  .controller(function ($timeout, bsLoadingOverlayService) {

    bsLoadingOverlayService.start();

    $timeout(bsLoadingOverlayService.stop, 5000);

  });

In html

<div bs-loading-overlay>
  loaded data usage here
</div>

License

Copyright (c) 2015 Oleksandr Beshchuk <bs.alex.mail@gmail.com>
Licensed under the Apache License.

FAQs

Package last updated on 01 Nov 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