IDIAMath / idiamath.github.io

1 stars 0 forks source link

Handle state of jsxgraph plots #43

Open jonasjul opened 1 year ago

jonasjul commented 1 year ago

We should probably save the state of the jsxgraph boards so that it doesnt reset when the student changes a page in the quiz etc. This applies to all our demo-questions, look here under "General considerations when building interactive graphs" for a how-to guide.

BlackBlueGreens commented 1 year ago

If we have or are capable of creating a server where we store the state of a question for every student, that would be the best and most structured solution. The use of getState() and setState() methods in JSXGraph along side an AJAX request would then be convenient.

I will look into the suggested methods in the provided link.