所有CSS布局更改后如何触发JavaScript resize事件

时间:2022-12-03 20:21:20

I want the JavaScript resize event to be fired AFTER all the css changes (of a responsive Bootstrap layout) are completed. Is this possible?

我想在完成所有css更改(响应式Bootstrap布局)之后触发JavaScript resize事件。这可能吗?

1 个解决方案

#1


0  

The window.onload event is fired when the site, including the CSS files, is completly loaded.

当完全加载包括CSS文件的站点时,会触发window.onload事件。

http://www.w3schools.com/jsref/event_onload.asp

#1


0  

The window.onload event is fired when the site, including the CSS files, is completly loaded.

当完全加载包括CSS文件的站点时,会触发window.onload事件。

http://www.w3schools.com/jsref/event_onload.asp