angular2-signaturepad
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23116
69
0