Answers for "ionic4 search"

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