New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular2-promise-buttons

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-promise-buttons - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="1.0.2"></a>
## [1.0.2](https://github.com/johannesjo/angular2-promise-buttons/compare/v1.0.1...v1.0.2) (2017-05-09)
<a name="1.0.1"></a>
## [1.0.1](https://github.com/johannesjo/angular2-promise-buttons/compare/v1.0.0...v1.0.1) (2017-05-09)
<a name="1.0.0"></a>

@@ -2,0 +12,0 @@ # [1.0.0](https://github.com/johannesjo/angular2-promise-buttons/compare/v0.1.5...v1.0.0) (2017-05-09)

8

package.json
{
"name": "angular2-promise-buttons",
"version": "1.0.0",
"version": "1.0.2",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/johannesjo/angular2-promise-buttons.git"
},
"scripts": {
"total-patch-publish": "run-s test demo.deploy build && npm version patch && npm publish",
"demo.serve": "ng serve",

@@ -43,2 +48,3 @@ "demo.gh-pages": "gh-pages -d demo/dist",

"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/platform-browser": "^4.0.0",

@@ -45,0 +51,0 @@ "@angular/platform-browser-dynamic": "^4.0.0",

@@ -42,3 +42,14 @@ [![npm version](https://badge.fury.io/js/angular2-promise-buttons.svg)](https://badge.fury.io/js/angular2-promise-buttons)

```
```typescript
export class SomeComponent {
// some example async action, but this works with any promise
someAction(){
this.promiseSetBySomeAction = new Promise((resolve, reject) => {
setTimeout(resolve, 2000);
});
}
}
```
## styling the button

@@ -45,0 +56,0 @@ To give you maximum flexibility there are no base styles coming with the directive, but it is easy to fix that! There are lots of free css-spinners out there. Just find one of your liking and add the css to your global stylesheet.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc