Coder Social home page Coder Social logo

fabinhorocha / angular-loading-overlay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bsalex/angular-loading-overlay

0.0 0.0 0.0 838 KB

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

License: Other

JavaScript 6.90% TypeScript 93.10%

angular-loading-overlay's Introduction

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

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 <[email protected]>
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.

angular-loading-overlay's People

Contributors

bsalex avatar dmkorol avatar peterkelly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.