How to reinitialize #17
Unanswered
sreyansjain
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Thank you so much for creating this gem of a snippet. It punches way way above its weight. Fantastic.
I am trying to use it with Phoenix + Turbo and sometimes i want to reinitialize the whole script on specific events like morhp.
(Mutation observer doesn't detect it somehow hence the styles are lost).
How can i do it? Please pardon my javascript skills, I couldn't figure it out myself.
Thank you so much once again and God bless you.
Beta Was this translation helpful? Give feedback.
All reactions