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

Question: how can I trap the user choice events? #2

Open
carlosalvidrez opened this issue May 7, 2021 · 1 comment
Open

Question: how can I trap the user choice events? #2

carlosalvidrez opened this issue May 7, 2021 · 1 comment

Comments

@carlosalvidrez
Copy link

Thanks for sharing this!

I would like to record their decision in a database, so I wonder if I can trap the acceptance (or non-acceptance) events, to persist the data.

Also, do you have a demo somewhere? I'd love to see it in action before I actually fiddle with the code.

@takisrs
Copy link
Owner

takisrs commented May 9, 2021

Hello,

There is not such an event right now that will let you "listen" to user's acceptance and store this to a database.
You may implement this functionality easily though. Check the updatePrefs fn in the source directory.

As for the demo, there is a link in the readme description that you can check.

Thank you.

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

No branches or pull requests

2 participants