Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Opera 中的 Resize 事件的工作方式类似于onresizeend( http://help.dottoro.com/ljscshjn.php )。如何像在其他浏览器中一样对其进行规范化?
onresizeend
您的意思是它仅在您停止调整大小时触发,而不是在调整大小期间多次触发?这是一个实现细节,据我所知,没有办法订阅重复的调整大小事件或“规范化”它。如果在调整元素大小时需要更新某些内容,则必须使用超时来查询大小。