ijlee2 / ember-container-query

Make container queries that harness the power of Ember
https://ember-container-query.netlify.app/
MIT License
47 stars 13 forks source link
container-queries container-query element-queries element-query ember-addon emberjs embroider glint responsive-design typescript

This project uses GitHub Actions for continuous integration. This project is using Percy.io for visual regression testing.

ember-container-query

Make container queries that harness the power of Ember

Installation

ember install ember-container-query
Use Glint or <template> tag? ✨ - Update your template registry to extend this addon's. Check the [Glint documentation](https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons#using-glint-enabled-addons) for more information. ```ts /* types/index.d.ts */ import '@glint/environment-ember-loose'; import type EmberContainerQueryRegistry from 'ember-container-query/template-registry'; declare module '@glint/environment-ember-loose/registry' { export default interface Registry extends EmberContainerQueryRegistry, /* other addon registries */ { // local entries } } ``` - If you are using [`