Add a signing pad to your website or app.
JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build Rebuild Oct 13, 2014
locales French and english Jun 21, 2013
public uses microevent to emit events. improved developer experience Oct 13, 2014
src uses microevent to emit events. improved developer experience Oct 13, 2014
.gitignore Initial commit - refactors pad.js to signature-pad.js May 20, 2013
Gruntfile.coffee uses microevent to emit events. improved developer experience Oct 13, 2014
README.md remove js comment Oct 13, 2014
package.json uses microevent to emit events. improved developer experience Oct 13, 2014
signature-pad.gif

README.md

signature-pad

Add a signing pad to your website or app. Try the demo.

<script src='/path/to/signature-pad.min.js'></script>

signature-pad

Usage

Place a script tag containing the path to signature-pad.js wherever you want the signature pad to be displayed.

<script src='/path/to/signature-pad.min.js'></script>

Events

signature_pad.data_url

Bind to the signature_pad.data_url event to get a png data_url of the signature.

<script type="text/javascript"> 
  signature_pad.bind('signature_pad.data_url', function(result) {
    console.log('signature_pad.data_url', result);
  });
</script>

Development Setup

Edit only files under /src directory. Then run the following to generate the /build directory.

npm install
grunt

Visit http://localhost:3000 to test out your changes.