0.4.4 • Published 8 years ago
lytics-ember-components v0.4.4
Lytics Ember Components
This is a collection of generic components used by Lytics Inc.
Include it in your project
$ npm install --save-dev lytics-ember-components
And that's it! Assuming you are using ember-cli.
At this point you can use the components in templates like this
{{#lio-tip}}
{{#lio-label}}A tip{{/lio-label}}
{{#lio-popover}}
The rollover part
{{/lio-popover}}
{{/lio-tip}}
Or you can extend the components like this
import TipComponent from 'lytics-ember-components/components/lio-tip';
export default TipComponent.extend({
// things!
});
What if I'm not using ember-cli?
Version 0.2.x
uses a more welcoming build, and it is available on Bower.
$ bower install lytics-ember-components
Contributing
This is an Ember CLI project. As such, it is built and managed in the Ember CLI fashion.
Serve with ember serve
Test with ember test
View Examples
- Serve with
ember serve
- Visit http://localhost:4200 for a directory