ngx-mq
    Preparing search index...

    Function between

    • Tracks whether the viewport width falls within the range [minBp, maxBp).

      Combines min-width and max-width into a single query. The lower bound is inclusive and the upper bound is exclusive (epsilon is subtracted from maxBp).

      Parameters

      Returns Signal<boolean>

      A Signal<boolean> that is true while the width is in [minBp, maxBp).

      Must be called within an Angular injection context.

      export class GridComponent {
      readonly isTablet = between('md', 'lg');
      }