class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font"><span class="hljs-keyword">new</span> hx.SideCollapsible(<span class="hljs-string">'#exampleLeft'</span>)
<span class="hljs-keyword">new</span> hx.SideCollapsible(<span class="hljs-string">'#exampleRight'</span>, {<span class="hljs-attr">position</span>: <span class="hljs-string">'right'</span>, <span class="hljs-attr">animate</span>: <span class="hljs-literal">false</span>})</code></pre></div></div><div class="example-code-sect