iv><div class="example-code-section"><h3>JavaScript</h3><div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font">slider = <span class="hljs-keyword">new</span> hx.TimeSlider(<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>slider = new hx.TimeSlider('#slider2', {type: 'range'})</script></div><div class="docs-example-code-body"><div class="examp