Skip to content

v2.0.0

Compare
Choose a tag to compare
@tomickigrzegorz tomickigrzegorz released this 22 Mar 22:36
· 36 commits to master since this release

Added

  • removeResultsWhenInputIsEmpty - the parameter deletes the results. We use the destroy() method which removes the results from the DOM and returns everything to its original state.
  • regex - the parameter allows you modify string before search. For example, we can remove special characters from the string. Default value is object { expression: /[|\\{}()[\]^$+*?]/g, replacement: "\\$&" }