ember-component-respo
This is an addon that enhances components with dynamic classes based on their actual sizes, regardless of window width.
🚀 Usage
1. Install addon:
ember install ember-component-respo
respo
breakpoints and classNameBindings
:
2. Setup Component;
Depending on the actual component's size it will add proper class names on top of it, like so:
example box
Default prefixes are: gt, gte, eq, lt, lte
. If you want to disable some, use the object form of respo
for configuration:
Component;
🔓 License
This library is released under the MIT license.