ject</a></span></span></span></span><span class="qm-api-javascript-header-function-returns"><span class="qm-api-type">Selection</span></span></span><span class="qm-api-header-tags"></span></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">Creates a new  <span class="qm-api-type-standalone qm-code-font"><span class="qm-api-type">ButtonGroup</span></span>  set up on a detached element, wrapped in a sel