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

Consider adding highlight method to quiz #145

Closed
killia15 opened this issue Nov 9, 2019 · 3 comments · Fixed by #146
Closed

Consider adding highlight method to quiz #145

killia15 opened this issue Nov 9, 2019 · 3 comments · Fixed by #146
Labels

Comments

@killia15
Copy link

killia15 commented Nov 9, 2019

Awesome project!

I really like the highlight feature on the quiz it gives the user a hint after so many incorrect attempts. For my use case, I'm looking to use the quiz as more of a learning tool where it highlights each stroke and has the user trace it.

I tried using the animateStroke method but there's no way to really un-animate it to give the user an opportunity to trace it. The highlightStroke method in quiz actions isn't exposed so I can't directly use that.

What are your thoughts on adding a public method to highlight the current stroke in a quiz? I think that it'd be easy to add. I'd be happy to add it myself if that's something that you would be interested in. If not, no big deal, I can fork it - but I'd rather not if not necessary.

@chanind
Copy link
Owner

chanind commented Nov 9, 2019

That sounds like a reasonable feature to add, should just be a few lines of code too. I'l work on getting PR up soon!

@killia15
Copy link
Author

killia15 commented Nov 9, 2019

Awesome, let me know if there's anything that I can do to help.

@chanind
Copy link
Owner

chanind commented Nov 10, 2019

🎉 This issue has been resolved in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants