dimanche 19 avril 2015

Emberjs equivalent to Angular filter ng model search

Is there an easy way to apply a search filter like angular:



<input type="text" ng-model="resultFilter" placeholder="Search">

<ul>
<li ng-repeat="result in results | filter:resultFilter">{{result.name}}</li>
</ul>


this filters the result by what ever is typed in the input box making an awsomely simple search feature. Is there a simple Emberjs equivalent or this one of those simple perks of anuglarjs?





Aucun commentaire:

Enregistrer un commentaire