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

API is not complete #352

Open
driver4567 opened this issue Nov 27, 2024 · 1 comment
Open

API is not complete #352

driver4567 opened this issue Nov 27, 2024 · 1 comment

Comments

@driver4567
Copy link

The API doesn't seem to be complete, for example the Calibration example uses webgazer.params.storingPoints, which is a Boolean that can be set. However if you use this, you will error, relating to the element 'plotting_canvas' not existing.

document.getElementById("plotting_canvas").getContext("2d");

In other words to use the storingPoints Boolean, the Application being build requires the main html page to include a Canvas element with the id 'plotting_canvas'. But this isn't in the API.

It would be great if the API included such info... unless I'm over stepping what what intended.

@jeffhuang
Copy link
Contributor

You're right, it's a little out of date. Feel free to update it with the note about plotting_canvas. We'll try to get to it when we can.

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