1.0.1 • Published 8 years ago

angular-disable-inflight v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

angular-disable-inflight

NPM

Installation

Installation is super easy, simply add the dependencies to your angular module, and inject angular-disable-inflight in your angular module.

# use npm
$ npm install angular-disable-inflight --save

Add angular-disable-inflight to your dependencies

// app.js
angular
  .module('yourApp', [
    require('angular-disable-inflight')
  ])
// template.html
<button disable-inflight ng-click="..">Submit</button>

Thats it! The element will be disabled="disabled" while requests are pending