ilter(function (item) {
      return ti.items().indexOf(item.name) === -1 && item.name.indexOf(term) > -1
    }))
  }
})</script></div><div class="docs-example-code-body"><div class="example-code-section"><h3>HTML</h3><div class="qm-code-highlight-codeblock language-html"><pre><code class="qm-code-font"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"autocomplete-example"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs