Skip to main content
cngx-src documentation

MediaQueryHost

Interface

projects/core/utils/media-query-signal.ts

Import#

import { MediaQueryHost } from '@cngx/core/utils'

Description#

Structural window surface the media-query helpers read: window, globalThis, or a test double. matchMedia is optional so SSR and jsdom hosts pass the type and hit the runtime guard instead.

Index#

Properties

Instance Properties#

matchMedia#function
Optional