t;/<span class="hljs-name">div</span>&gt;</span></code></pre></div></div><div class="example-code-section"><h3>JavaScript</h3><div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font">hx.select(<span class="hljs-string">'#fluid-titlebar'</span>)
  .add(hx.titleBar({
    <span class="hljs-attr">title</span>: <span class="hljs-string">'Fluid Titlebar'</span>,
    <span class="hljs-attr">subtitle</span>: <span class="hljs-string">'Subtitle'</span>
  }))</code></pre></div></div></div>