question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extending responsive API with `gte` and `lte`

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
CaerusKarucommented, Mar 26, 2020

It’s an interesting case for sure. My recommendation in the meantime is to implement it in your own project using custom breakpoints and report back on its effectiveness.

I’m wary to add new standard breakpoints to the library because it ends up adding significant size to the library. Each string literal has to be copied into all 20+ directives, and we’re already over-sized as it is. If #1185 ever goes through this would be a moot point, but until then that’s my biggest concern.

0reactions
angular-automatic-lock-bot[bot]commented, Apr 26, 2020

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass date format to API using gte and lte using ...
My requirement is to pass date parameters to API ...
Read more >
Use types.LTE in Ginkgo with Examples | LambdaTest
Learn how to use LTE method in types for your next Ginkgo project with LambdaTest Automation Testing Advisor. The most extensive knowledge-base for...
Read more >
ParamQuery Grid Pro API Documentation for Version 8.x
Custom filter conditions can be defined by extending pq.filter.conditions as explained ... It can be minLen, maxLen, gt, gte, lt, lte, regexp, nonEmpty, ......
Read more >
API v2 Reference & Endpoints - HL Vanilla Community
",\"enum\":[\"eq\",\"ne\",\"gt\",\"gte\",\"lt\",\"lte\",\"in\"],\&quot ...
Read more >
Telnyx API Reference
The Telnyx API can power a host of specialty applications, ... eq; ne; gt; gte; lt; lte; starts_with; ends_with; contains ... Invalid extended...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found