</div><div class="example-code-section"><h3>JavaScript</h3><div class="qm-code-highlight-codeblock 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">'#tagInput'</span>)
tagInput.items([<span class="hljs-string">'a'</span>,<span class="hljs-string">'b'</span>])</code></pre></div></div></div></div></div></div> </div></div></div><div class="qm-docs-topic"><div class="qm-docs-anchor" id="api">