ng-promise-button icon indicating copy to clipboard operation
ng-promise-button copied to clipboard

Added functionality

Open christurnbull opened this issue 9 years ago • 1 comments

Added functionality:

DEMO: http://plnkr.co/edit/WRaLC2?p=preview

  • handle ngResource promise and null/empty promises
  • attribute to submit form - if a promise is supplied the button turns into type="submit"
  • attributes for button success/error class - defaults to btn-success/btn-danger
  • attribute to revert to original class after revert period
  • classes for span elements & use fa-spin class
  • added dependency injection annotations

christurnbull avatar Jan 09 '16 16:01 christurnbull

Thanks christurnbull, I'm glad you found it useful.

Your changes looks great. Check the comments above and we can move it.

Also please remove the modification of README file from PR - I obviously cannot merge to upstream saying "This is a fork". I will add you to contributors section and update the demo link after pull.

Thanks!

DocX avatar Feb 14 '16 14:02 DocX