list - Display Triggered JavaScript Events -
i working on website uses masonry. know masonry rebuilds when window width changes , want able trigger rebuilding @ will, when 1 of elements' height changed. problem don't see event listeners related window's width can copy code from. there way can see events being triggered @ moment?
in chrome developer tools (press f12 within chrome), go sources tab.
in right hand pane, expand > event listener breakpoints
, tick ones want break on.
alternatively, if using jquery event handling, can install jquery debugger extension chrome devtools, , gives jquery events
tab in right hand column on elements tab. shows events bound using jquery selected element. try selecting <html>
tag or <body>
tag , see if can find there.
one final option search in js using string "resize".
Comments
Post a Comment