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 got this to work on the Yew/stdweb layer using a js! block. However, small typos in JavaScript code yield obscure errors. I would prefer to utilize something document().add_event_listener( ... ). However, there does not appear to be a CustomEvent implementation for stdweb.
I would be happy to work on contributing that, if there is a desire for it.
The text was updated successfully, but these errors were encountered:
I've been working on setting up bi-directional communication between an app's Webview and Yew (stdweb-based) layers. Getting messages from Webview back into Yew was particularly challenging. With help from the maintainer of Webview, I eventually found a solution using the
CustomEvent
API in JS.I got this to work on the Yew/stdweb layer using a
js!
block. However, small typos in JavaScript code yield obscure errors. I would prefer to utilize somethingdocument().add_event_listener( ... )
. However, there does not appear to be aCustomEvent
implementation for stdweb.I would be happy to work on contributing that, if there is a desire for it.
The text was updated successfully, but these errors were encountered: