odeblock language-js"><pre><code class="qm-code-font"><span class="hljs-keyword">var</span> tagInput = <span class="hljs-keyword">new</span> hx.TagInput(<span class="hljs-string">'#tag-input'</span>)
tagInput.items([<span class="hljs-string">'tag-1'</span>, <span class="hljs-string">'tag-2'</span>, <span class="hljs-string">'tag-3'</span>])</code></pre></div></div></div></div><div class="docs-example"><div class="docs-example-body"><div id="tag-input-2"></div><script>var tagInput = new hx.TagInput('#tag-inp