Open
Description
I have an application where the user can specify breakpoints to render different data. I cannot change the breakpoint at runtime however. Calling Vue.use(VueMq, { ... })
when it's already set doesn't do anything.
Something along the lines of this would be great:
Vue.use(VueMq, {
breakpoints: { // default breakpoints - customize this
sm: 450,
md: 1250,
lg: Infinity,
}
defaultBreakpoint: 'sm' // customize this for SSR
})
// in component
this.$mq.update('sm', 550)