ring">'#selector'</span>);
menu.renderer = <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">elem, item</span>)</span>{
  <span class="hljs-comment">// do your render stuff</span>
};
menu.render(data);</code></pre></div> </div></div></div></div></div></div><div class="qm-api-group qm-api-event-group"><div class="qm-api-group-header qm-api-event-group-header qm-header-font">Events</div><div class="qm-api-item qm-api-javascript-event qm-api-collapsible"><div clas