Answers for "ion search bar angular"

3

Angular ion-search

filterItems(searchTerm) {
    return this.items.filter(item => {
      return item.title.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1;
    });
  }
Posted by: Guest on June-05-2020

Browse Popular Code Answers by Language