tomhodgins / element-queries-spec

A spec for a Container-Style Element Query Syntax
https://tomhodgins.github.io/element-queries-spec/element-queries.html
367 stars 14 forks source link

Element queries on ember #1

Closed scooterlord closed 7 years ago

scooterlord commented 7 years ago

please delete me! sorry :(

tomhodgins commented 7 years ago

Hi @scooterlord! I think you're referring to the EQCSS.js plugin?

The 'lazy' technique in the code I think you're referring to is the EQCSS.throttle() function which ensures the styles are not recalculated more frequently than every 200ms.

You are able to bypass this wait time by invoking EQCSS.apply() manually from JavaScript at any time to trigger an instant recalculation of the rules!