Provides a cleaner way for conditionally joining class names in templates.
Before:
After:
Or with {{cn}}
alias in a single line:
ember install ember-class-names-helper
The helper relies on a tiny and well-tested library classnames.
Or with {{cn}}
alias:
- Ember.js v3.20 or above
- Ember CLI v3.20 or above
- Node.js v12 or above
- ember-auto-import v2
See the Contributing guide for details.
This project is licensed under the MIT License.