Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Extending responsive API with gte and lte #1224

Description

@pmilic021

Feature Request

What is the desired behavior?

To have lte and gte responsive selectors along with existing lt and gt.

What is the use-case or motivation for the desired behavior?

It's minor detail, but in order to cover all screen sizes it would be nicer to be able to write something like this:
<div ngClass.lte-sm="example-mobile-class" ngClass.gt-sm="example-desktop-class">
than this:
<div ngClass.lt-md="example-mobile-class" ngClass.gt-sm="example-desktop-class"> .

Is there anything else we should know?

I could try to tackle it myself and make a PR if you agree it makes sense to implement this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions