1.0.5 • Published 3 months ago

ngx-signature-pads v1.0.5

Weekly downloads
-
License
-
Repository
github
Last release
3 months ago

This module provides Angular developers with a signature pad component.


Demo screenshot

image


Getting Started

Start by installing the Angular Layout library from npm

npm i -s ngx-signature-pads

Next, you'll need to import the Layout module in your app's module.

app.module.ts

import { NgxSignaturePadsModule } from 'ngx-signature-pads';
...

@NgModule({
    ...
    imports: [ NgxSignaturePadsModule ],
    ...
});

After that is configured, you can use the Angular Layout attributes in your HTML tags for flex layout:

<ngx-signature-pads (saveEvent)="save($event)"></ngx-signature-pads>

Input options:

  • width: number (default 500px)
  • height: number (default 300px)
  • lineWidth: number (default 2px)
  • hideSave: boolean (default false)
  • hideReset: boolean (default false)

Output:

  • saveEvent: EventEmitter (base64 image)

License: MIT

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago