-
Notifications
You must be signed in to change notification settings - Fork 248
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
Add new getInteractionObject() function to questionModel.js #1710
Comments
Please put it on the model. I'll plumb it in to make it backwards compatible for components without models. We really need to move getResponse and getResponseType also |
Sure thing. 👍 |
Also moved getResponseType() and getResponse() from questionView.js to questionModel.js.
Also moved getResponseType() and getResponse() from questionView.js to questionModel.js.
Is this waiting on me? @brian-learningpool |
can I close this now that this has been added to the framework? I know we're still waiting on reviews and merges for the changes to the various question components but I think those can be done as and when and shouldn't hold up the v3 framework release |
In readiness to support xAPI I'm proposing that a
getInteractionObject()
is added to QuestionView.js, and implemented in question components the same way asgetResponse
andgetResponseType()
currently are.The purpose of this function is to return an object containing the extra properties which could be appended to an xAPI
object.definition
object. For example, achoice
interaction could return:The text was updated successfully, but these errors were encountered: