ngx-pipe-search-by
Search in array of object by property
Arguments
Param | Type | Default | Details |
---|---|---|---|
collection | Array |
- | The collection to filter |
searchWord | string |
- | String to search |
propertiesSearch | Array<string> |
- | Property to look for. Examples: [name] , [name, client.name, client.pet.name ] |
sensitive | boolean |
true | Case sensitive |
Install
npm install ngx-pipe-search-by --save
Usage
Import PipeSearchByModule
to your module
;;; ;
In HTML Template
<!-- HERE HTML -->