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

Global JS event in README seems to be incorrect #3

Open
kenny-evitt opened this issue Mar 4, 2023 · 0 comments · May be fixed by #4
Open

Global JS event in README seems to be incorrect #3

kenny-evitt opened this issue Mar 4, 2023 · 0 comments · May be fixed by #4

Comments

@kenny-evitt
Copy link

(Thanks for the project!)

From the README:

Each init/patch also emits a global event, which you can listen to with:

window.addEventListener('dataviz_initialized', event => doSomethingOnInit(), false)
window.addEventListener('dataviz_patch', event => doSomethingOnPatch(), false)

The 'patch' event seems to be named like 'dataviz_patched' instead.

@kenny-evitt kenny-evitt linked a pull request Mar 4, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant