Skip to content

How to wrap a function around the signature pads #641

Discussion options

You must be logged in to vote

Ah ha! After looking at your example page again I figured out that in the function initSignaturePad I simply needed to use const at the front of the line:
v_signaturePad = new SignaturePad(v_canvas, {backgroundColor: "rgb(0, 0, 0, 0)"});

Now all the buttons reference the correct object.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@TP-Harry-Phillips
Comment options

@TP-Harry-Phillips
Comment options

@TP-Harry-Phillips
Comment options

@TP-Harry-Phillips
Comment options

@UziTech
Comment options

UziTech Aug 1, 2022
Collaborator

Comment options

You must be logged in to vote
0 replies
Answer selected by TP-Harry-Phillips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants