浏览器兼容性问题大多在获取事件属性的时候会遇到。
You'll find that you need to worry about browser compatibility mainly when reading out event properties.
在这种情况下,通常可以规定所需的浏览器版本,因此无需过于担心跨浏览器兼容性问题。
In such situations you can often dictate the required browser version so you don't have to worry as much about cross-browser compatibility.
这样你就能分贝的解决浏览器兼容性问题也能确保你的代码能在所有的浏览器里良好的运行。
Thus you can solve each compatibility problem separately and ensure your code runs in all browsers that support advanced event handling.
应用推荐