MCPcopy Create free account
hub / github.com/adobe/react-spectrum / mediaQueryTest

Function mediaQueryTest

packages/dev/docs/src/client.js:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147
148 /* restore default behavior when responsive media query no longer matches */
149 let mediaQueryTest = event => {
150 if (!event.matches) {
151 removeVisible(true);
152 }
153 };
154
155 main.addEventListener('click', onClick);
156 document.addEventListener('keydown', onKeydownEsc);

Callers

nothing calls this directly

Calls 1

removeVisibleFunction · 0.85

Tested by

no test coverage detected