Fullscreen API not working if triggered with F11

后端 未结 3 774
半阙折子戏
半阙折子戏 2021-02-19 14:27

I implemented a fullscreen toggling feature for my application and it is actually working fine, tested on newest Chrome, Firefox, IE and Opera. I have one method for activating

3条回答
  •  野的像风
    2021-02-19 14:48

    Use shortcut.js for manipulation the pressed key. It's good.

    Exemple code :

    shortcut.add("F11",function() {
        alert("F11 PRESS");
    });
    

    Or

    JSFiddle Exemple

提交回复
热议问题