Skip to content

Releases: shisama/toggle-fullscreen

Update README

10 Sep 06:50
Compare
Choose a tag to compare
v0.3.3

Merge branch 'master' of github.com:shisama/toggle-fullscreen

Use Immediately-invoked function expression.

10 Sep 05:11
Compare
Choose a tag to compare
v0.3.2

Update verstion -> 0.3.2

Add isFullscreen and fullscreenChange

29 Aug 15:54
Compare
Choose a tag to compare
v0.3.1

fix callback ver

fix Edge requestFullscreen

26 Aug 17:23
Compare
Choose a tag to compare
v0.2.3

fix Edge requestFullscreen

fix event on fullscreen of Edge

26 Aug 15:14
Compare
Choose a tag to compare
v0.2.2

fix event on fullscreen of Edge

Update README

24 Aug 15:00
Compare
Choose a tag to compare
v0.2.1

Update README

Add callback feature

24 Aug 01:54
Compare
Choose a tag to compare

Callback example:

 onChangeFullScreen = function() {
   const element = document.getElementById('something');
   toggleFullscreen(element, function(isFullScreen) {
     if (isFullScreen) {
       // any process in fullscreen mode
       // e.g.document.addEventListener('keydown', this.keydownEvent);
     } else {
       // any process in non-fullscreen mode
       // e.g.document.removeEventListener('keydown', this.keydownEvent);
     }
   });
 };

Fix README.md

10 Aug 23:34
Compare
Choose a tag to compare

fix Usage any process in fullscreen mode -> any process in non-fullscreen mode

npm publish

09 Aug 16:35
Compare
Choose a tag to compare