-
Notifications
You must be signed in to change notification settings - Fork 244
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
Events / Public API #11
Comments
From @cxelegance https://github.com/QuickenLoans/SlickQuiz/issues/53 Since jQuery animations are being used, animation callback functions could be used to do some work when animations are complete. Since we don't personally have any work to do when the animations are complete, how about letting user define callbacks for the 5 main methods in SlickQuiz... when all animations are complete in any given method, then user-defined callback function is executed. |
From @margando https://github.com/QuickenLoans/SlickQuiz/issues/51 For scorm elearning integration: a) in defaults add: b) At end of "completeQuiz: function() {" add: c) call with: |
The callbacks I've been adding are for when animations complete; it would be easy to add another one at the end of the completeQuiz() method, as per the above comments. I'll try it when I have time and I'll let you know! |
Hello! I have a commit (plus a secondary "testing" branch) which has animationCallbacks (should anyone need them - I did at one point), plus event methods, such as onCompleteQuiz, which feedsback with the score and question count. |
From @hellopablo @abensrhir @Jaace https://github.com/QuickenLoans/SlickQuiz/issues/46
Would be nice to have a public API for events so that we can hook into the plugin easily/cleanly. e.g:
The text was updated successfully, but these errors were encountered: