bsbreakpointviswaliser/bsBpVisualiser.js

6 lines
288 B
JavaScript
Raw Normal View History

2023-02-19 00:30:32 +01:00
export function bsBpVisualiser() {
$('.breakpointvisualiserWidth').text(window.innerWidth); // initial visualisation
window.onresize = function reportWindowSize() { //visualisation on resize window...
$('.breakpointvisualiserWidth').text(window.innerWidth);
}
}