section"><h3>JavaScript</h3><div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font"><span class="hljs-keyword">var</span> slider = <span class="hljs-keyword">new</span> hx.Slider(<span class="hljs-string">'#slider'</span>);</code></pre></div></div></div></div><div class="docs-example"><div class="docs-example-body"><div id="slider2" class="hx-slider"></div><script>var slider = new hx.Slider('#slider2', {type: 'range'});</script></div><div class="docs-example-code-body"><div clas