m-code-highlight-codeblock language-js"><pre><code class="qm-code-font">slider = <span class="hljs-keyword">new</span> hx.TimeSlider(<span class="hljs-string">'#slider2'</span>, {<span class="hljs-attr">type</span>: <span class="hljs-string">'range'</span>})</code></pre></div></div></div></div></div></div> </div></div></div><div class="qm-docs-topic"><div class="qm-docs-anchor" id="api"><div class="qm-docs-topic-header qm-header-font">Api<a class="qm-docs-anchor-icon" href="#api"></a></div></div><div class=