Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen. Smoothens out the browser implementation differences, so you don't have to. This package is feature complete. No new features will be accepted. In order to use this package in Internet Explorer, you need a Promise polyfill. Safari is supported on desktop and iPad, but not on iPhone. This is a limitation in the browser, not in Screenfull. The default element is <html>. If called with another element than the currently active, it will switch to that if it's a decendant. Keep in mind that the browser will only enter fullscreen when initiated by user events like click, touch, key. Returns a promise that resolves after the element enters fullscreen. Hide navigation user-interface on mobile devices, Toggle fullscreen on a image with jQuery, and much more.

Features

  • Fullscreen an element
  • Fullscreen the page
  • Hide navigation user-interface on mobile devices
  • Fullscreen an element with jQuery
  • Toggle fullscreen on a image with jQuery
  • Detect fullscreen change

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML

License

MIT License

Follow screenfull.js

screenfull.js Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of screenfull.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML

Registered

2021-09-03