Add a signing pad to your website or app.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
locales
public
src
.gitignore
Gruntfile.coffee
README.md
package.json
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.