Slide 90
Slide 90 text
Breakpoints.on({
name: "GENERIC_BIG_SCREEN_BREAKPOINT",
matched: function(){ /* some js logic to activate*/ },
exit: function(){ /* disable some js logic*/ },
});
Breakpoints.on({
name: "SPECIFIC_CONTENT_BREAKPOINT",
el: document.getElementById("myElement"),
matched: function(){ /* some js logic to activate*/ },
exit: function(){ /* disable some js logic*/ },
});
https://github.com/14islands/js-breakpoints