Socket
Socket
Sign inDemoInstall

angular-loading-overlay-2

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-loading-overlay-2

Service and directive to manipulate overlays on async operations.


Version published
Maintainers
1
Install size
197 kB
Created

Readme

Source

Angular loading overlay

Build Status Code Climate Package Quality Codacy Badge Join the chat at https://gitter.im/bsalex/angular-loading-overlay

The module provides your app with organized and flexible way to show overlays (like "Loading...").

It supports multiple independent named overlays on one page.

It also allows you to create preconfigured handlers and wrap promises to show and hide overlays on promise work started and finished.

The module has integration with Spin.js via angular-loading-overlay-spinjs.
See Docs & Examples for more information.

The module provides integration with angular $http service via angular-loading-overlay-http-interceptor.
The integration includes requests matchers which adds more flexibility.
See Docs & Examples for more information.

Should you have any questions, feel free to contact me on Gitter Join the chat at https://gitter.im/bsalex/angular-loading-overlay

Docs & Examples

Installation

bower install --save angular-loading-overlay

or

npm install --save angular-loading-overlay

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) 2016 Oleksandr Beshchuk <bs.alex.mail@gmail.com>
Licensed under the Apache License.

Contributing

  1. Fork the repo
  2. npm install
  3. npm run prepare-development
  4. npm run test:watch
  5. Make your changes, add your tests
  6. npm run build
  7. Stage source and dist folders
  8. Commit, push, PR.

FAQs

Last updated on 20 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc