sindresorhus

screenfull

Simple wrapper for cross-browser usage of the JavaScript Fullscreen API

by sindresorhus

HTML

HTML49.6%
JavaScript37.9%
TypeScript12.5%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 14 discussions · Last activity 1mo ago
See all on GitHub →
matcho

Hello, When binding a function to "change" event, through method, how is it possible to detect either : whether this change event was triggered by pressing ESC key whether the browser is entering or exiting fullscreen mode I couldn't find such information in the object. What I'm trying to achieve is to detect when the browser is exiting fullscreen mode because ESC key was pressed. Thanks for any help, screenfull is great, Mathias

matcho · 2y ago
mxdvl

When running Playwright tests, hangs indefinitely. I believe this may be because the does not have , but I believe that there should be a configurable timeout if the fullscreen request does not succeed after a while. If someone else reacts with a 🚀 I’ll have a go at implementing this myself 😁

mxdvl · 2y ago
vanminhquangtri

Simple, this not work with Iphone 7Plus, OS 15.8.1 I think this is because Safari iOs not support this.

vanminhquangtri · 1y ago
tomas-eklund

I've used screenfull.js on a digital signage project where the requirement was that the application should be able to reload itself completely (using ) with the application staying in full screen. After some experimentation I settled on an `targetDocument()isFullscreentoggle()targetDocument()` idea useful, I would very much appreciate it being added to the library. If I'm stupid (not unlikely) and have overlooked a more obvious solution please advice.

tomas-eklund · 1y ago
Structured data for AI agents

Repository: sindresorhus/screenfull. Description: Simple wrapper for cross-browser usage of the JavaScript Fullscreen API Stars: 7139, Forks: 680. Primary language: HTML. Languages: HTML (49.6%), JavaScript (37.9%), TypeScript (12.5%). License: MIT. Homepage: https://sindresorhus.com/screenfull Latest release: v6.0.2 (4y ago). Open PRs: 0, open issues: 14. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, oskarrough, Richienb, stormtrooper1859, sidkh, s-h-a-d-o-w, ben-eb, yocontra, gfx and others.