vue3-mq
Version:
Build responsive design into your Vue 3 app
20 lines • 674 B
TypeScript
/**
* Update the breakpoint presets and assign MediaQuery listeners for each of them
*
* @public
* @param {object} config - Configuration object for updating breakpoints
* @param {object} config.breakpoints - An object of name:min values to set
* @param {object} config.preset - A breakpoint preset to use
*/
export function updateBreakpoints({ breakpoints, preset }: {
breakpoints: object;
preset: object;
}): void;
/**
* Composable function which returns the MQ object provided in the ./plugin.js->install method
*
* @public
* @returns {reactive} - The Vue Reactive object
*/
export function useMq(): reactive;
//# sourceMappingURL=composables.d.ts.map