Last Updated: February 25, 2016
·
695
· edinella

Native fullscreen javascript api

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