Make container queries that harness the power of Ember Octane.
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:
Hi, there! 👋
I created ember-container-query and am happy with how its README turned out. I like it for these reasons:
<summary>
tags to hide details and not overwhelm first-time visitorsijlee2 / ember-container-query
Make container queries that harness the power of Ember Octane.
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
Use FastBoot?⚠️
This addon uses nullish coalescing operator
??
. If you use FastBoot (withNode < v14.0
) and only support browsers that natively support ??, you will run into a build error:To prevent this, please make sure to add
node: 'current'
to yourconfig/targets.js
file.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…