SignaturePad plugin for the Sencha Touch 2
Hey guys, I have updated the existing signature pad plugin written for Sencha Touch 1.
You can find the source code here https://github.com/ivanovvitaly/SignaturePadST2 and the code for the sample form bellow as well.
Here is the sample image of what I've got
Architect 2 - Sencha Touch?
I'm very extied to use this - thanks for making! Any tips on how to get this to work in Sencha Touch in Architect 2?
Probably Something Stupid on My Part
Ok...should I have to do anything more to see the sample app from Git than put it in a directory up on a standard LAMP build and hit its index file?
I threw this up on a server, and get this error:
Error: The following classes are not declared even if their files have been loaded: 'Sencha.ux.SignaturePad'. Please check the source code of their corresponding files for possible typos: 'app/plugin/SignaturePad.js
[Break On This Error]
"corresponding files for possible typos: '" + missingPaths.join("', '"));
sencha-touch.js (line 7897)
Can anyone offer me any guidance on what I'm doing wrong?
Getting SignaturePad working in Architect
Add SignaturePad.js to your project root.
Add in a JS Resource that points to this (note: this will then deploy with your project and let you edit in Architect)
Create a loader
Create a container in the form you want to use it.
Promote to Class
Create override in class
Note: disableScrollCmp will be the parent xtype for your form.