Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add BrowserWindow.isFocusable() #28642

Merged
merged 1 commit into from Apr 21, 2021
Merged

feat: add BrowserWindow.isFocusable() #28642

merged 1 commit into from Apr 21, 2021

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Apr 13, 2021

Description of Change

Closes #28623.

Adds the corresponding isFocusable method to existing BrowserWindow.setFocusable(). As noted in the issue, there are myriad use cases where one would want to know the value of a window's focusability without needing to manually keep track of various calls to setFocusable.

Checklist

Release Notes

Notes: Added BrowserWindow.isFocusable() to determine whether a window is focusable.

@codebytere codebytere added the semver/minor backwards-compatible functionality label Apr 13, 2021
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours api-review/requested 🗳 labels Apr 13, 2021
@codebytere codebytere merged commit 11199d8 into master Apr 21, 2021
@release-clerk
Copy link

release-clerk bot commented Apr 21, 2021

Release Notes Persisted

Added BrowserWindow.isFocusable() to determine whether a window is focusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-review/approved ✅ semver/minor backwards-compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: BrowserWindow.isFocusable()
4 participants