1.2.2 • Published 8 years ago

sg-signature-pad v1.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Angular 1.5/ES6 Signature Pad Component

SignaturePad.js portation to Angular 1.5 Component

Based on:

##Installation

Install this module using npm

npm install sg-signature-pad --save

Add the module to your app

import angular from 'angular';
import sgSignaturePad from 'sg-signature-pad/lib/index';

const yourApp = angular.module('yourApp', [sgSignaturePad]).name;

export default yourApp;

Usage

Component markup

The component stores the signature as base64 encoded image string into the variable passed as "model" param. The signature pad dimensions get defined by the "height" and "width" param.

  <sg-signature-pad model="$ctrl.signatureModel" height="(int)" width="(int)"></sg-signature-pad>

Todo

  • test on touch devices
1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago