angular-disable-inflight

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i angular-disable-inflight

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • hanford