You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a case where I have some regular js that executes on document ready that will click elements whose click action is defined in inline hyperscript.
When I tried this the click actions did not trigger. I added a small timeout to my code and it worked fine. I checked to see if hyperscript fired any kind of event to let the document know that all the inline hyperscript has been processed but it looks like it doesn't exist.
I've opened a pull request to add a new "hyperscript:ready" event that fires on the document so any js that interacts with hyperscript elements on load can wait on that event to execute. I've tested this on my original use case and it works fine.
The text was updated successfully, but these errors were encountered:
I ran into a case where I have some regular js that executes on document ready that will click elements whose click action is defined in inline hyperscript.
When I tried this the click actions did not trigger. I added a small timeout to my code and it worked fine. I checked to see if hyperscript fired any kind of event to let the document know that all the inline hyperscript has been processed but it looks like it doesn't exist.
I've opened a pull request to add a new "hyperscript:ready" event that fires on the document so any js that interacts with hyperscript elements on load can wait on that event to execute. I've tested this on my original use case and it works fine.
The text was updated successfully, but these errors were encountered: