tr1ckydev / webview-bun

Bun bindings for webview, a tiny library for creating web-based desktop GUIs.
https://www.npmjs.com/package/webview-bun
MIT License
201 stars 8 forks source link

Add webview options #7

Closed fckffln closed 2 months ago

fckffln commented 4 months ago

Please add options for webview, the same as in electron

Example list of options: https://www.electronjs.org/docs/latest/api/browser-window

tr1ckydev commented 2 months ago

Windows height and width can be changed when creating an instance. Refer to https://github.com/tr1ckydev/webview-bun/blob/main/src/webview.ts#L141

merlindru commented 1 month ago

What about other options? E.g. hiding window decorations/title bar, making the window transparent/blurry/acrylic/mica

tr1ckydev commented 1 month ago

What about other options? E.g. hiding window decorations/title bar, making the window transparent/blurry/acrylic/mica

Unfortunately, these are out of the scope of this project as those depend on the webview project decisions with what API they chose to implement.