Signal whether or not a media query is currently matched.
Argument value | Type | Description |
---|---|---|
query | string | The media query to signal on. Example, "print" will signal true when previewing in print mode, and false otherwise |
Return value | Type | Description |
---|---|---|
isMatch | Boolean | Whether or not the media query is currently matched |
Join our discord server! You can click the floating discord icon at the bottom right of the screen and chat with us!