Device Access APIs
Explore and learn about 11 JavaScript APIs in the Device Access category.
Battery
Monitor device battery level, charging status, and power management with the Battery Status API. Optimize your web app based on device power conditions.
Geolocation
Access the user's geographical location to provide location-aware features.
Device Memory
Access information about the client device's RAM memory capacity. Perfect for adapting content and features based on device capabilities.
Device Orientation
Access information about the device's physical orientation and motion. Perfect for creating immersive experiences and motion-based interactions.
Gamepad
Access and respond to signals from gamepads and game controllers in a simple, consistent way. Perfect for web-based games, simulations, and interactive experiences.
Network Information
Access information about the network connection in terms of general connection type and quality, enabling adaptive experiences based on network capabilities.
Screen Orientation
Access and control the screen orientation of a device. Lock the orientation or respond to orientation changes in your web applications.
Screen Wake Lock
Prevent devices from dimming or locking the screen when an application needs to keep running. Perfect for reading, presentations, or applications that don't require user interaction.
Sensor APIs
Access device sensors like accelerometer, gyroscope, and ambient light sensor. Perfect for creating responsive, context-aware web applications.
Vibration
Control device vibration hardware to provide haptic feedback. Create simple pulses or complex vibration patterns for enhanced user experience on mobile devices.
Web MIDI
Interact with MIDI devices in web applications with the Web MIDI API. Learn to connect to instruments, controllers, and other MIDI hardware.