Fullscreen
Fullscreen api wrapper
Install / Use
/learn @component/FullscreenREADME
fullscreen
Fullscreen api
Installation
$ component install component/fullscreen
Example
var fullscreen = require('fullscreen');
fullscreen.on('change', function(full){
console.log('changed to %s', full ? 'fullscreen' : 'regular');
});
setTimeout(function(){
fullscreen();
}, 2000);
Events
- "change" (fullscreen) boolean
API
fullscreen([el])
Display fullscreen document or el.
fullscreen.exit()
Exit fullscreen mode.
fullscreen.supported
Check if fullscreen is supported.
License
MIT
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
