React Native webview的onLoad函数什么时候执行?

When does the onLoad function of React Native webview execute?

https://facebook.github.io/react-native/docs/webview#onload

文档指出 onload 是一个 Function that is invoked when the WebView has finished loading.

具体是什么操作触发了这个?它是在页面中的所有脚本都已 运行 之后触发还是仅在 DOM 完成加载时触发?是否有执行的回调告诉 webview 页面已完成?

https://developer.mozilla.org/en-US/docs/Web/API/Window/DOMContentLoaded_event

当 DOMContentLoaded 事件被触发时,React Native 的 webview 被启动。这意味着 DOM 已完成加载,但网站不一定完全加载完所有内容,此时可能会继续 运行 脚本(如果有的话)。