This repository was archived by the owner on Dec 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Layout
Karl edited this page Apr 11, 2018
·
8 revisions
When fully rendered, the instance will be laid out in the following ways:
<div class="rangeable-container has-tooltip show-tooltip"> <!-- CONTAINER -->
<input class="rangeable-input" type="range"> <!-- INPUT -->
<div class="rangeable-track"> <!-- TRACK -->
<div class="rangeable-progress"> <!-- PROGRESS -->
<div class="rangeable-handle"> <!-- HANDLE -->
<div class="rangeable-tooltip"></div> <!-- TOOLTIP -->
</div>
</div>
</div>
</div><div class="rangeable-container has-tooltip show-tooltip"> <!-- CONTAINER -->
<input class="rangeable-input" type="range"> <!-- INPUT -->
<div class="rangeable-track"> <!-- TRACK -->
<div class="rangeable-progress"> <!-- PROGRESS -->
<div class="rangeable-handle"> <!-- HANDLE 1 -->
<div class="rangeable-tooltip"></div> <!-- TOOLTIP 1 -->
</div>
<div class="rangeable-handle"> <!-- HANDLE 2 -->
<div class="rangeable-tooltip"></div> <!-- TOOLTIP 2 -->
</div>
<div class="rangeable-tooltip"></div> <!-- TOOLTIP 3 -->
</div>
</div>
</div>The extra tooltip in the double layout is used to display the values when the two single tooltips collide.
If required, you can grab a reference to these nodes quickly by utilising the nodes property.