摘要:
这篇文章的作者是 David Corbacho,伦敦的一名前端开发工程师。之前我们有一篇关于”节流”和”去抖”的文章:The Difference Between Throttling and Debouncing(译文:节流(Throttling)和去抖(Debouncing)的区别),但是Dav 阅读全文
摘要:
现在主流的浏览器都支持全屏,但是各家实现不一。下面是主流浏览器实现方法: // W3C 提议 element.requestFullscreen(); element.exitFullscreen(); // Webkit (works in Safari5.1 and Chrome 15) ele 阅读全文