ngx-mq
    Preparing search index...

    Function matchMediaSignal

    • Tracks an arbitrary, raw CSS media query.

      Use this escape hatch for any feature not covered by the dedicated helpers. The query is normalized (trimmed, collapsed whitespace, lower-cased) before use.

      Parameters

      Returns Signal<boolean>

      A Signal<boolean> that reflects the live result of the query.

      Must be called within an Angular injection context.

      readonly isRetina = matchMediaSignal('(min-resolution: 2dppx)');