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

Feature request: fullscreen #12

Closed MartinGamesCZ closed 1 day ago

MartinGamesCZ commented 1 month ago

Would it be please possible to implement fullscreen function? Or is there some "hack" to do it? I tried fullscreen using javascript on the page, but that requires user to click, which is not very practical

tr1ckydev commented 1 day ago

Even though out of scope of this project but I tried few ways most notably using setTimeout but it requires the user to atleast click inside the window once, else fails with a promise rejection.

MartinGamesCZ commented 1 day ago

Thanks, i meanwhile started working on my own rust based implementation with full control

tr1ckydev commented 1 day ago

That's wonderful. I wish you all the best for your project.