
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@ng-plus/signature-pad
Advanced tools
Installation:
npm install @ng-plus/signature-pad --save
Usage (Blob/Image):
<ng-signature-pad (done)="saveImage($event)"></ng-signature-pad>
JavaScript:
saveImage(blob: Blob) {
// Do something with the blob.
}
Directives | Description | Options | Default |
---|---|---|---|
[editable] | Turn pad on or off | true , false | true |
[emitOnDragEnd] | Emit the (done) method as soon as drag end. | true , false | false |
[penColor] | Color of signature pen | Color | black |
[backgroundColor] | Background of signature pad | Color | transparent |
(done) | Fired on clicking Done button | function($event: Blob/base64/json) | null |
(clear) | Fired on clicking Clear button | function() | null |
[(points)] | JSON points model | json | null |
[format] | Output format foe (done) method. json output is same as points model. | blob , base64 , json | blob |
[width] | Width of canvas | number | 600 |
[height] | Height of canvas | number | 150 |
[responsive] | Resize to 100% parent. But the points will still output width xheight ratio | true , false | true |
[showDoneButton] | Show or Hide Done Button | true , false | true |
[showClearButton] | Show or Hide Clear Button | true , false | true |
[doneButtonText] | Text of Done Button | string | Done |
[clearButtonText] | Text of Clear Button | string | Clear |
[doneButtonClass] | Class classes of Done Button | string | btn btn-primary |
[clearButtonClass] | Class classes of Clear Button | string | btn btn-default |
FAQs
An angular wrapper for signature_pad.
We found that @ng-plus/signature-pad demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.