Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

this.productArray.filter()in ionic

return this.items.filter((v) => {
  if(v.toLowerCase().indexOf(q.toLowerCase()) >= 0) {
    return true;
  }
  return false;
})
Source by forum.ionicframework.com #
 
PREVIOUS NEXT
Tagged: #ionic
ADD COMMENT
Topic
Name
5+3 =