Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Add useMediaQuery composable #182

@TylerAPfledderer

Description

@TylerAPfledderer

Feature request

Add the useMediaQuery composable to the Vue package.

This is an existing function in the React package to track state of a given CSS media query.

Note: In the React package, it uses a hook called useEnvironment. Need to consider whether or not to also add this as a composable and use it in order to make useMediaQuery workable in these early stages of the Chakra package
See Vue's discussion on Access to Platform Specific APIs in regard to SSR with useEnvironment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions