Boscop / Boscop/web-view

Handle window buttons, esp. close.

Open
#183 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

It would be nice if you could intercept and handle the window buttons so you can do things like confirm, show save progress while closing, or save window position - this might be something I'm missing (something with `onunload` in the view?) in which case this might just be a doc bug.

If this isn't currently possible, the simplest option might be to forward them into the JS like host calls, otherwise it looks like it might be a API breaking change in `WebViewBuilder` to add more fields.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.