ngx-mq
    Preparing search index...

    Function orientation

    • Tracks the screen orientation via the (orientation: ...) media feature.

      Parameters

      Returns Signal<boolean>

      A Signal<boolean> that is true while the orientation matches value.

      Must be called within an Angular injection context.

      readonly isLandscape = orientation('landscape');