Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carsonslovoka/go-webview2
webview2
https://github.com/carsonslovoka/go-webview2
chinese edge go taiwan webview2
Last synced: 17 days ago
JSON representation
webview2
- Host: GitHub
- URL: https://github.com/carsonslovoka/go-webview2
- Owner: CarsonSlovoka
- License: mit
- Created: 2022-12-27T07:31:29.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T01:24:19.000Z (4 months ago)
- Last Synced: 2024-11-09T13:31:22.454Z (2 months ago)
- Topics: chinese, edge, go, taiwan, webview2
- Language: Go
- Homepage:
- Size: 316 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebView2
從[WebView2 API Reference](https://learn.microsoft.com/en-us/microsoft-edge/webview2/webview2-api-reference?tabs=dotnetcsharp)可以找到自己語言的相關文檔
其中也包含[JavaScript](https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/javascript/)在內,在連結中提到
[window.chrome.webview](https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/javascript/webview)可以對應到WebView的物件
透過window.chrome.webview.postMessage(message)可以傳遞消息與WebView溝通
## [Example](examples/helloWorld/)