webview / webview_deno

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
https://deno.land/x/webview
MIT License
1.44k stars 75 forks source link

feat: add `html` setter binding `set_html` #164

Closed gardengim closed 7 months ago

gardengim commented 1 year ago

Changes

  1. ffi.ts: fixed the second parameter of "webview_set_html" symbol to "buffer" from "pointer".
  2. webview.ts: added html setter that basically wraps webview_set_html symbol.
  3. Replaced all the examples using navigate method to set Webview HTML.