ionic searchbar react code example
Example: Angular ion-search
filterItems(searchTerm) {
return this.items.filter(item => {
return item.title.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1;
});
}
filterItems(searchTerm) {
return this.items.filter(item => {
return item.title.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1;
});
}