Module: holmes

search for dom elements on your page
Source:

(require("holmes"))()

search for dom elements on your page
Parameters:
Name Type Attributes Default Description
options.input string <optional>
'input[type=search]' A querySelector to find the input
options.find string A querySelectorAll rule to find each of the find terms
options.placeholder string <optional>
Text to show when there are no results (innerHTML)
options.class.visible string <optional>
false class to add to matched items
options.class.hidden string <optional>
'hidden' class to add to non-matched items
Source: