formidable-webview / webshell

🔥 Craft Robust React Native WebView-based components with ease.
https://formidable-webview.github.io/webshell/
MIT License
101 stars 4 forks source link

Is there a way to detect / be notified when the web view is loaded? #12

Closed liviavinci closed 3 years ago

liviavinci commented 3 years ago

Is there a way to detect / be notified when the web view is loaded?

jsamr commented 3 years ago

All props available to WebView are available to Webshell. You can use for instance onLoad (although it's kind of ill-defined). If you mean "when the DOM is loaded", you could write up a custom feature that reports load events.

liviavinci commented 3 years ago

@jsamr thanks a lot!