-
Notifications
You must be signed in to change notification settings - Fork 250
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
issue/2845 Presentation component save+restore #2846
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code 👓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 Tested in latest Chrome, Firefox, iPhone iOS 13.5.1, iPad iOS 10.3.4
Visited states kept on browser refresh too @oliverfoster |
#2845
Presentation components hotgraphic and accordion will keep visited states (narrative will also but there is no visible representation of visited states in narrative).
This should all carry on working as before except some crucial
QuestionModel
only behaviour is now also accessible toComponentModel
and by extensionItemsComponentModel
.Changed
_attemptStates
API fromQuestionModel
toComponentModel
_userAnswer
API fromQuestionModel
toComponentModel
Added
ItemsComponentModel
save and restore behaviourComponentModel._userAnswer
reset behaviourTest with spoor pr#197 or using spoor branch issue/2805
Use scorm_test_harness.html to check save/restore