Closed jimhigson closed 10 years ago
I think it'd be very useful if unison.js provided a way for listening when the breakpoint changes.
Something like:
Unison.getBreakpoints().onChange(function(newBreakpoint){ });
This is currently outside of the scope of unison.js, which is intended only to share named breakpoints across front-end layers. A simple plugin could be written to provide this functionality, however.
I think it'd be very useful if unison.js provided a way for listening when the breakpoint changes.
Something like: