Targeting canvas from another plugin with webgazer #2304
Unanswered
IvaTomevska
asked this question in
Q&A
Replies: 2 comments
-
It looks like you are appending the display_element.appendChild(canvas); This adds the canvas to the DOM element that jsPsych controls. It may be that the webgazer extension is only looking for targets that are inside the scope of the jsPsych DOM element. |
Beta Was this translation helpful? Give feedback.
0 replies
-
(Converting this to a discussion.) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone! I am trying to get webgazer to target a canvas from another plugin in the .html file where I am creating he trials and using webgazer. This is what I mean:
plugin.js file has
(inside the )
index.html file has
But this is not working. Do you guys know how I can properly call the canvas to target it in the
targets
part when I call webgazer in the trial? Thank you!Beta Was this translation helpful? Give feedback.
All reactions