ember-list-filter
v0.0.3
Published
A list filter component with a text input for Ember.
Downloads
4
Maintainers
Readme
List Filter
A list filter component with a text input for the ember-cli.
Installation
npm i ember-list-filter --save-dev
Usage
In a template, you can call the list filter component:
{{list-filter list=myUserList partial='list-user' properties='name title description'}}
Then, make sure you define a partial/template. The above example uses list-user
:
list-user.hbs
<li>
{{gravatar-image email=listFilterObject.email}}
{{listFilterObject.name}}
{{listFilterObject.email}}
</li>
Note the listFilterObject
keyword, this is the variable assigned for the #each
block in the list filter component.
Development
Running
ember server
- Visit your app at http://localhost:4200.
Running Tests
ember test
ember test --server
Building
ember build
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).