SkillAgentSearch skills...

Fullscreen

Fullscreen api wrapper

Install / Use

/learn @component/Fullscreen
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars29
CategoryDevelopment
Updated6y ago
Forks5

Languages

JavaScript

Security Score

60/100

Audited on Jan 11, 2020

No findings