ember-container-query
Make container queries that harness the power of Ember Octane.
Open the demo app to see ember-container-query
in action. (There's even a 404 page!)
Installation
ember install ember-container-query
Use FastBoot? ⚠️
This addon uses nullish coalescing operator ??
. If you use FastBoot (with Node < v14.0
) and only support browsers that natively support ??, you will run into a build error:
/var/folders/2z/93zyyhx13rs879qr8rzyxrb40000gn/T/broccoli-689520dxo26a682Mz/out-529-broccoli_merge_trees/assets/vendor.js:121232
return this.args.features ?? {};
^
SyntaxError: Unexpected token '?'
To prevent this, please make sure to add node: 'current'
to your config/targets.js
file.
'use strict';
const browsers = [ ... ];
module.exports = {
browsers,
node: 'current'
};
Applications
Where can you use container queries? Here are real-life (and some theoretical) applications!
Create reusable components that are independent of screen size ♻️
-
Components form a core of an Ember app. We love components!
-
With…
I spend a lot of time in Postwoman's readme.
👽 A free, fast and beautiful API request builder used by 75k+ developers. https://hoppscotch.io
A free, fast and beautiful API request builder
Helps you create requests faster, saving precious time on development - Subscribe
Built with ❤︎ by
liyasthomas and
contributors
Chat: Telegram, Discord
Donate: GitHub Sponsors, Open Collective, Patreon, PayPal
Table of contents
Features✨
Methods:
GET
- Retrieve information about the REST API resourceHEAD
- Retrieve response headers identical to those of a GET request, but without the response body.POST
- Create a REST API resourcePUT
- Update a REST API resourceDELETE
- Delete a REST…