Last Updated: February 25, 2016
·
700
· edinella

Native fullscreen javascript api

addEventListener("click", function(){
    var el = document.documentElement;
    var rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen;
    rfs.call(el);
    });