File: from-center.php

package info (click to toggle)
node-nouislider 15.8.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,928 kB
  • sloc: javascript: 5,234; php: 474; sh: 32; python: 28; makefile: 11
file content (23 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php sect('from-center'); ?>
<h1>Slider with connect from the center</h1>

<section>

    <div class="view">

        <p><a href="https://github.com/leongersen/noUiSlider/issues/371">Issue #371</a> requested a slider with the connect option originating from the slider center.
            This can be implemented by hiding one of the handles and using the <code>"unconstrained"</code> behaviour.</p>

        <div class="example">
            <div id="from-center"></div>
            <?php run('from-center'); ?>
            <?php run('from-center'); ?>
        </div>
    </div>

    <div class="side">

        <?php loadShowCSS('from-center'); ?>
        <?php code('from-center'); ?>
    </div>
</section>