Member Junction
    Preparing search index...
    • Calls onChange whenever the viewport crosses the phone breakpoint (rotation, a resized window, DevTools device mode). Returns the function that stops watching; always returns one, even where there is no matchMedia. Call it from ngOnDestroy.

      Parameters

      • onChange: () => void

      Returns () => void