div></div></div></div><div class="qm-api-collapsible-content"><div class="qm-api-item-content"><div class="qm-api-description"><div class="qm-html-paragraph">The function that converts an item into html and attaches it to the element supplied. This function is not intended to be called externally but can be redefined to change how the menu is created. <div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font">menu = <span class="hljs-keyword">new</span> hx.Menu(<span class="hljs-st