JSPM

ember-css-element-queries

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 116
    • Score
      100M100P100Q50643F
    • License MIT

    A simple addon to add css-element-queries to your application

    Package Exports

    • ember-css-element-queries

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-css-element-queries) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    ember-css-element-queries

    Automatically adds css-element-queries to your application and initialises it at boot time.

    Installation

    ember install ember-css-element-queries

    Usage

    This addon adds the following code to the header

    <script src="/assets/css-element-queries.js"></script>
    <script>
      if(typeof FastBoot === 'undefined') {
        ElementQueries.listen();
        ElementQueries.init();
      }
    </script>

    and makes sure that the css-element-queries code is available for download in your application.

    Contributing

    Installation

    • git clone <repository-url>
    • cd ember-css-element-queries
    • npm install

    Linting

    • npm run lint:hbs
    • npm run lint:js
    • npm run lint:js -- --fix

    Running tests

    • ember test – Runs the test suite on the current Ember version
    • ember test --server – Runs the test suite in "watch mode"
    • ember try:each – Runs the test suite against multiple Ember versions

    Running the dummy application

    For more information on using ember-cli, visit https://ember-cli.com/.

    License

    This project is licensed under the MIT License.