cordova-plugin-pressure-signosoft
Version:
Cordova SignoSoft Plugin. Simple plugin that returns x, y and pressure from signing pen.
34 lines (19 loc) • 855 B
Markdown
Simple plugin that returns x, y and pressure from signing pen
Install the plugin in SignoSoft-Touch app
$ cd SignoSoft-Touch
$ cordova plugin add https://github.com/janbrandejs/cordova-plugin-signosoft
Edit `www/js/index.js` and add the following code inside `onDeviceReady`
```js
var success = function(message) {
alert(message);
}
var failure = function() {
alert("Error calling Hello Plugin");
}
hello.greet("World", success, failure);
```
For more information on setting up Cordova see [the documentation](http://cordova.apache.org/docs/en/latest/guide/cli/index.html)
For more info on plugins see the [Plugin Development Guide](http://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/index.html)