Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid compiling JSON (and other tasks) depending on options #15

Closed
jokeyrhyme opened this issue Nov 10, 2011 · 0 comments
Closed

avoid compiling JSON (and other tasks) depending on options #15

jokeyrhyme opened this issue Nov 10, 2011 · 0 comments

Comments

@jokeyrhyme
Copy link
Contributor

I have a crazy large form, and I am currently noticing some latency.

I am currently trying to optimise my use of signaturePad to try and lower the latency.

My current options are:
drawOnly: true,
validateFields: false,
lineWidth: 0,
sig: '.signaturePad',
output: '',
sigNav: '',
name: '',
typed: '',
clear: '',
typeIt: '',
drawIt: '',
typeItDesc: '',
drawItDesc: ''

It would be terrific if signaturePad were programmed such that empty selectors (or some other flag) prevented certain tasks from being executed at all, for performance reasons.

For example, I have settings.output = '', so the JSON will never be recorded on the DOM. However, the JSON will still be created anyway. It would be awesome if values (etc) were only calculated if the settings suggested that the results were actually desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants