Resize window to see output.
import HoverSizeDetect from '../../js/hoversizedetect';
const options = {
breakpoint: 992,
debug: true,
};
const hoversizedetect = new HoverSizeDetect(options);
document.addEventListener('DOMContentLoaded', () => {
hoversizedetect.init();
});
Note: you also can open your browser console to see debug output.