Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular2-signaturepad

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-signaturepad - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "angular2-signaturepad",
"version": "2.0.0",
"version": "2.0.1",
"description": "Angular2 Component wrapper for szimek / signature_pad",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,8 +17,23 @@ # angular2-signaturepad

```typescript
// import into app module
import { SignaturePadModule } from 'angular2-signaturepad';
...
@NgModule({
declarations: [ ],
imports: [ SignaturePadModule ],
providers: [ ],
bootstrap: [ AppComponent ]
})
// then import for use in a component
import { Component, ViewChild } from 'angular2/core';
import { SignaturePad } from 'angular2-signaturepad';
import { SignaturePad } from 'angular2-signaturepad/signature-pad';
@Component({
template: '<signature-pad [options]="signaturePadOptions" (onEndEvent)="doOnEnd()"></signature-pad>',
directives: [SignaturePad]
template: '<signature-pad [options]="signaturePadOptions" (onEndEvent)="drawComplete()"></signature-pad>'
})

@@ -52,1 +67,5 @@

```
## Demo App
https://github.com/lathonez/angular2-signaturepad-demo
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