2016-06-15 Use below code to trigger window.resize event. This can be helpful to refresh some libraries like Chartist.js when a panel or a div the control is contained in is expanded. P.S. The above method isn’t supported by Internet explorer (failed on IE 11), therefore use below method for wider browser support.