Class

FuzzySearch

FuzzySearch~FuzzySearch()

Extends

  • HTMLElement

Methods

# init(dataArr, keys)

Initializes search with data

Parameters:
Name Type Description
dataArr Array

array of strings or objects with string values to make search in (https://fusejs.io/examples.html#search-string-array)

keys Array

list of keys that will be searched. That supports nested paths and weighted search (https://fusejs.io/api/options.html#keys)

View Source frontend/components/generic/fuzzy_search.js, line 171