1.0.2 • Published 3 years ago

angular-pipes-module v1.0.2

Weekly downloads
15
License
-
Repository
github
Last release
3 years ago

angular-pipes-module

This library contains reusable Angular pipes for sorting and filtering.

Pipes

  • filterObjects - Filters out any object where none of its properties contain the passed in search string filterObjects(input: object[], query: string)
  • sortObjects - Sort objects either accending or decending by comparing one of the object's properites sortObjects(input: object[], field: string, desc = false)

Usage Example

<tr *ngFor="let user of users | filterObjects:searchString | sortObjects:sortType:sortReverse">
1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

5 years ago

0.0.1

5 years ago