I have register a trigger on window resize. I want to know how can I trig the event to be called. for example , When hide a div, I want my trigger function can be called.
I found window.resizeTo() can trig the function, but is there any other solution?