angular-dynamic-layout icon indicating copy to clipboard operation
angular-dynamic-layout copied to clipboard

Filters and Rankers - needed?

Open intellix opened this issue 9 years ago • 2 comments

Just trying to understand some of the code to fix a few of the issues and have figured I don't think this project should cover custom filters and rankers.

When I think of dynamic layout, I'm passing it a list of items of which I want to be arranged, I can do the filtering and ranking myself.

intellix avatar Sep 29 '15 10:09 intellix

Rankers and filters let you manipulate $scope objects that are then picked up by the directive that updates the layout as in the demo

Custom rankers and filters is a powerful tool that let you filter and sort based on any combination of properties rather than individual ones. Also it lets you define your own comparators that are not included in the library.

Let me know if that answers the issue.

tristanguigue avatar Oct 01 '15 07:10 tristanguigue

Created #23 to try and simplify this and remove need for custom rankers/filters by using filter/orderBy in angular on an ng-repeat

intellix avatar Oct 05 '15 09:10 intellix