123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918 |
- <!doctype html>
- <!--
- * Tabler - Premium and Open Source dashboard template with responsive and high quality UI.
- * @version 1.0.0-beta4
- * @link https://tabler.io
- * Copyright 2018-2021 The Tabler Authors
- * Copyright 2018-2021 codecalm.net Paweł Kuna
- * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
- -->
- <html lang="en">
- <head>
- <meta charset="utf-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
- <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
- <title>Range slider - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
- <!-- CSS files -->
- <link href="../dist/css/tabler.min.css" rel="stylesheet"/>
- <link href="../dist/css/tabler-flags.min.css" rel="stylesheet"/>
- <link href="../dist/css/tabler-payments.min.css" rel="stylesheet"/>
- <link href="../dist/css/tabler-vendors.min.css" rel="stylesheet"/>
- <link href="../dist/css/demo.min.css" rel="stylesheet"/>
- </head>
- <body class="antialiased">
- <div class="wrapper">
- <header class="navbar navbar-expand-md navbar-light d-print-none">
- <div class="container-xl">
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
- <span class="navbar-toggler-icon"></span>
- </button>
- <h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
- <a href="..">
- <img src="../static/logo.svg" width="110" height="32" alt="Tabler" class="navbar-brand-image">
- </a>
- </h1>
- <div class="navbar-nav flex-row order-md-last">
- <div class="nav-item d-none d-md-flex me-3">
- <div class="btn-list">
- <a href="https://github.com/tabler/tabler" class="btn btn-outline-white" target="_blank" rel="noreferrer">
- <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" /></svg>
- Source code
- </a>
- <a href="https://github.com/sponsors/codecalm" class="btn btn-outline-white" target="_blank" rel="noreferrer">
- <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
- Sponsor
- </a>
- </div>
- </div>
- <div class="nav-item dropdown d-none d-md-flex me-3">
- <a href="#" class="nav-link px-0" data-bs-toggle="dropdown" tabindex="-1" aria-label="Show notifications">
- <!-- Download SVG icon from http://tabler-icons.io/i/bell -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" /><path d="M9 17v1a3 3 0 0 0 6 0v-1" /></svg>
- <span class="badge bg-red"></span>
- </a>
- <div class="dropdown-menu dropdown-menu-end dropdown-menu-card">
- <div class="card">
- <div class="card-body">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus ad amet consectetur exercitationem fugiat in ipsa ipsum, natus odio quidem quod repudiandae sapiente. Amet debitis et magni maxime necessitatibus ullam.
- </div>
- </div>
- </div>
- </div>
- <div class="nav-item dropdown">
- <a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu">
- <span class="avatar avatar-sm" style="background-image: url(../static/avatars/000m.jpg)"></span>
- <div class="d-none d-xl-block ps-2">
- <div>Paweł Kuna</div>
- <div class="mt-1 small text-muted">UI Designer</div>
- </div>
- </a>
- <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
- <a href="#" class="dropdown-item">Set status</a>
- <a href="#" class="dropdown-item">Profile & account</a>
- <a href="#" class="dropdown-item">Feedback</a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">Settings</a>
- <a href="#" class="dropdown-item">Logout</a>
- </div>
- </div>
- </div>
- </div>
- </header>
- <div class="navbar-expand-md">
- <div class="collapse navbar-collapse" id="navbar-menu">
- <div class="navbar navbar-light">
- <div class="container-xl">
- <ul class="navbar-nav">
- <li class="nav-item">
- <a class="nav-link" href="../index.html" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="5 12 3 12 12 3 21 12 19 12" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
- </span>
- <span class="nav-link-title">
- Home
- </span>
- </a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#navbar-base" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/package -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3" /><line x1="12" y1="12" x2="20" y2="7.5" /><line x1="12" y1="12" x2="12" y2="21" /><line x1="12" y1="12" x2="4" y2="7.5" /><line x1="16" y1="5.25" x2="8" y2="9.75" /></svg>
- </span>
- <span class="nav-link-title">
- Interface
- </span>
- </a>
- <div class="dropdown-menu">
- <div class="dropdown-menu-columns">
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../empty.html" >
- Empty page
- </a>
- <a class="dropdown-item" href="../accordion.html" >
- Accordion
- </a>
- <a class="dropdown-item" href="../blank.html" >
- Blank page
- </a>
- <a class="dropdown-item" href="../buttons.html" >
- Buttons
- </a>
- <a class="dropdown-item" href="../cards.html" >
- Cards
- </a>
- <a class="dropdown-item" href="../cards-masonry.html" >
- Cards Masonry
- </a>
- <a class="dropdown-item" href="../colors.html" >
- Colors
- </a>
- <a class="dropdown-item" href="../dropdowns.html" >
- Dropdowns
- </a>
- <a class="dropdown-item" href="../icons.html" >
- Icons
- </a>
- <a class="dropdown-item" href="../modals.html" >
- Modals
- </a>
- <a class="dropdown-item" href="../maps.html" >
- Maps
- </a>
- <a class="dropdown-item" href="../map-fullsize.html" >
- Map fullsize
- </a>
- <a class="dropdown-item" href="../maps-vector.html" >
- Vector maps
- </a>
- </div>
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../navigation.html" >
- Navigation
- </a>
- <a class="dropdown-item" href="../charts.html" >
- Charts
- </a>
- <a class="dropdown-item" href="../pagination.html" >
- Pagination
- </a>
- <a class="dropdown-item" href="../skeleton.html" >
- Skeleton
- </a>
- <a class="dropdown-item" href="../tabs.html" >
- Tabs
- </a>
- <a class="dropdown-item" href="../tables.html" >
- Tables
- </a>
- <a class="dropdown-item" href="../carousel.html" >
- Carousel
- </a>
- <a class="dropdown-item" href="../lists.html" >
- Lists
- </a>
- <a class="dropdown-item" href="../typography.html" >
- Typography
- </a>
- <a class="dropdown-item" href="../offcanvas.html" >
- Offcanvas
- </a>
- <a class="dropdown-item" href="../markdown.html" >
- Markdown
- </a>
- <div class="dropend">
- <a class="dropdown-item dropdown-toggle" href="#sidebar-authentication" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- Authentication
- </a>
- <div class="dropdown-menu">
- <a href="../sign-in.html" class="dropdown-item">Sign in</a>
- <a href="../sign-up.html" class="dropdown-item">Sign up</a>
- <a href="../forgot-password.html" class="dropdown-item">Forgot password</a>
- <a href="../terms-of-service.html" class="dropdown-item">Terms of service</a>
- <a href="../auth-lock.html" class="dropdown-item">Lock screen</a>
- </div>
- </div>
- <div class="dropend">
- <a class="dropdown-item dropdown-toggle" href="#sidebar-error" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- Error pages
- </a>
- <div class="dropdown-menu">
- <a href="../error-404.html" class="dropdown-item">404 page</a>
- <a href="../error-500.html" class="dropdown-item">500 page</a>
- <a href="../error-maintenance.html" class="dropdown-item">Maintenance page</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../form-elements.html" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/checkbox -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="9 11 12 14 20 6" /><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9" /></svg>
- </span>
- <span class="nav-link-title">
- Form elements
- </span>
- </a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#navbar-extra" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/star -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
- </span>
- <span class="nav-link-title">
- Extra
- </span>
- </a>
- <div class="dropdown-menu">
- <a class="dropdown-item" href="../activity.html" >
- Activity
- </a>
- <a class="dropdown-item" href="../gallery.html" >
- Gallery
- </a>
- <a class="dropdown-item" href="../invoice.html" >
- Invoice
- </a>
- <a class="dropdown-item" href="../search-results.html" >
- Search results
- </a>
- <a class="dropdown-item" href="../pricing.html" >
- Pricing cards
- </a>
- <a class="dropdown-item" href="../users.html" >
- Users
- </a>
- <a class="dropdown-item" href="../license.html" >
- License
- </a>
- <a class="dropdown-item" href="../music.html" >
- Music
- </a>
- <a class="dropdown-item" href="../widgets.html" >
- Widgets
- </a>
- <a class="dropdown-item" href="../wizard.html" >
- Wizard
- </a>
- </div>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#navbar-layout" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/layout-2 -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><rect x="4" y="4" width="6" height="5" rx="2" /><rect x="4" y="13" width="6" height="7" rx="2" /><rect x="14" y="4" width="6" height="7" rx="2" /><rect x="14" y="15" width="6" height="5" rx="2" /></svg>
- </span>
- <span class="nav-link-title">
- Layout
- </span>
- </a>
- <div class="dropdown-menu">
- <div class="dropdown-menu-columns">
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../layout-horizontal.html" >
- Horizontal
- </a>
- <a class="dropdown-item" href="../layout-vertical.html" >
- Vertical
- </a>
- <a class="dropdown-item" href="../layout-vertical-transparent.html" >
- Vertical transparent
- </a>
- <a class="dropdown-item" href="../layout-vertical-right.html" >
- Right vertical
- </a>
- <a class="dropdown-item" href="../layout-condensed.html" >
- Condensed
- </a>
- <a class="dropdown-item" href="../layout-condensed-dark.html" >
- Condensed dark
- </a>
- <a class="dropdown-item" href="../layout-combo.html" >
- Combined
- </a>
- </div>
- <div class="dropdown-menu-column">
- <a class="dropdown-item" href="../layout-navbar-dark.html" >
- Navbar dark
- </a>
- <a class="dropdown-item" href="../layout-navbar-sticky.html" >
- Navbar sticky
- </a>
- <a class="dropdown-item" href="../layout-navbar-overlap.html" >
- Navbar overlap
- </a>
- <a class="dropdown-item" href="../layout-dark.html" >
- Dark mode
- </a>
- <a class="dropdown-item" href="../layout-rtl.html" >
- RTL mode
- </a>
- <a class="dropdown-item" href="../layout-fluid.html" >
- Fluid
- </a>
- <a class="dropdown-item" href="../layout-fluid-vertical.html" >
- Fluid vertical
- </a>
- </div>
- </div>
- </div>
- </li>
- <li class="nav-item active">
- <a class="nav-link" href="../docs/index.html" >
- <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/file-text -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /><line x1="9" y1="9" x2="10" y2="9" /><line x1="9" y1="13" x2="15" y2="13" /><line x1="9" y1="17" x2="15" y2="17" /></svg>
- </span>
- <span class="nav-link-title">
- Documentation
- </span>
- </a>
- </li>
- </ul>
- <div class="my-2 my-md-0 flex-grow-1 flex-md-grow-0 order-first order-md-last">
- <form action="." method="get">
- <div class="input-icon">
- <span class="input-icon-addon">
- <!-- Download SVG icon from http://tabler-icons.io/i/search -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="10" cy="10" r="7" /><line x1="21" y1="21" x2="15" y2="15" /></svg>
- </span>
- <input type="text" class="form-control" placeholder="Search…" aria-label="Search in website">
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="page-wrapper">
- <div class="container-xl">
- <!-- Page title -->
- <div class="page-header d-print-none">
- <div class="row align-items-center">
- <div class="col">
- <h2 class="page-title">
- Documentation
- </h2>
- </div>
- </div>
- </div>
- </div>
- <div class="page-body">
- <div class="container-xl">
- <div class="row gx-lg-4">
- <div class="d-none d-lg-block col-lg-3">
- <ul class="nav nav-pills nav-vertical">
- <li class="nav-item">
- <a href="../docs/" class="nav-link">
- Introduction
- </a>
- </li>
- <li class="nav-item">
- <a href="#menu-base" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Getting started
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-base">
- <li class="nav-item">
- <a href="../docs/getting-started.html" class="nav-link">
- Getting Started
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/download.html" class="nav-link">
- Download
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/browser-support.html" class="nav-link">
- Browser Support
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-content" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Content
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-content">
- <li class="nav-item">
- <a href="../docs/colors.html" class="nav-link">
- Colors
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/typography.html" class="nav-link">
- Typography
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/icons.html" class="nav-link">
- Icons
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-layout" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Layout
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-layout">
- <li class="nav-item">
- <a href="../docs/page-headers.html" class="nav-link">
- Page headers
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-forms" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Form components
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-forms">
- <li class="nav-item">
- <a href="../docs/form-elements.html" class="nav-link">
- Form elements
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-helpers.html" class="nav-link">
- Form helpers
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-validation.html" class="nav-link">
- Validation states
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-image-check.html" class="nav-link">
- Image check
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-color-check.html" class="nav-link">
- Color check
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-selectboxes.html" class="nav-link">
- Form selectboxes
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/form-fieldset.html" class="nav-link">
- Form fieldset
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-components" class="nav-link" data-bs-toggle="collapse" aria-expanded="true">
- Components
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse show" id="menu-components">
- <li class="nav-item">
- <a href="../docs/alerts.html" class="nav-link">
- Alerts
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/avatars.html" class="nav-link">
- Avatars
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/badges.html" class="nav-link">
- Badges
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/breadcrumb.html" class="nav-link">
- Breadcrumb
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/buttons.html" class="nav-link">
- Buttons
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/cards.html" class="nav-link">
- Cards
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/carousel.html" class="nav-link">
- Carousel
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/dropdowns.html" class="nav-link">
- Dropdowns
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/divider.html" class="nav-link">
- Divider
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/empty.html" class="nav-link">
- Empty states
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/modals.html" class="nav-link">
- Modals
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/page-headers.html" class="nav-link">
- Page headers
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/progress.html" class="nav-link">
- Progress
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/range-slider.html" class="nav-link active">
- Range slider
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/ribbons.html" class="nav-link">
- Ribbons
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/skeleton.html" class="nav-link">
- Skeleton
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/spinners.html" class="nav-link">
- Spinners
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/steps.html" class="nav-link">
- Steps
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/switch-icon.html" class="nav-link">
- Switch icon
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tables.html" class="nav-link">
- Tables
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tabs.html" class="nav-link">
- Tabs
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/timelines.html" class="nav-link">
- Timelines
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/toasts.html" class="nav-link">
- Toasts
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/tooltips.html" class="nav-link">
- Tooltips
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-utils" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Utilities
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-utils">
- <li class="nav-item">
- <a href="../docs/borders.html" class="nav-link">
- Borders
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/cursors.html" class="nav-link">
- Cursors
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/interactions.html" class="nav-link">
- Interactions
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#menu-plugins" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
- Plugins
- <span class="nav-link-toggle"></span>
- </a>
- <ul class="nav nav-pills collapse" id="menu-plugins">
- <li class="nav-item">
- <a href="../docs/autosize.html" class="nav-link">
- Autosize
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/input-mask.html" class="nav-link">
- Form input mask
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/flags.html" class="nav-link">
- Flags
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/payments.html" class="nav-link">
- Payments
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/charts.html" class="nav-link">
- Charts
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="../changelog.html" class="nav-link">
- Changelog
- <span class="badge bg-blue-lt ms-auto">1.0.0-beta4</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="col-lg-9">
- <div class="card card-lg">
- <div class="card-body">
- <div class="markdown">
- <div>
- <div class="d-flex mb-3">
- <h1 class="m-0">Range slider</h1>
- </div>
- </div>
- <p>All options and features can be found <a href="https://refreshless.com/nouislider/"><strong>here</strong></a>.</p>
- <h2 id="basic-range-slider">Basic range slider</h2>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider0","start": 50,"range": {"min": 0,"max": 100}}"></div>
- <p demo-slider="slider0"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider0","start": 50,"range": {"min": 0,"max": 100}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider0"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="basic-options">Basic options</h2>
- <p>Basic range slider options.</p>
- <h2 id="js-name">js-name</h2>
- <p>By setting <code class="language-plaintext highlighter-rouge">js-name</code> you can access slider in your js code. <strong>Remember to use it in your code after the page has loaded.</strong></p>
- <div class="language-js highlighter-rouge">
- <div class="highlight">
- <pre class="highlight"><code><span class="cm">/* Example */</span>
- <span class="nb">window</span><span class="p">.</span><span class="nx">onload</span> <span class="o">=</span> <span class="nx">slider</span><span class="p">;</span>
- <span class="kd">function</span> <span class="nx">slider</span><span class="p">(){</span>
- <span class="kd">let</span> <span class="nx">sliderText</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="dl">'</span><span class="s1">sliderText</span><span class="dl">'</span><span class="p">);</span>
- <span class="nx">slider1</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="dl">'</span><span class="s1">update</span><span class="dl">'</span><span class="p">,</span><span class="kd">function</span><span class="p">(</span><span class="nx">values</span><span class="p">,</span><span class="nx">handle</span><span class="p">){</span>
- <span class="nx">sliderText</span><span class="p">.</span><span class="nx">innerHTML</span> <span class="o">=</span> <span class="nx">values</span><span class="p">[</span><span class="nx">handle</span><span class="p">];</span>
- <span class="p">});</span>
- <span class="p">}</span>
- </code></pre>
- </div>
- </div>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider1","start": 50,"range": {"min": 0,"max": 100}}"></div>
- <p id="sliderText" demo-slider="slider1"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider1","start": 50,"range": {"min": 0,"max": 100}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">id=</span><span class="s">"sliderText"</span> <span class="na">demo-slider=</span><span class="s">"slider1"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="start">start</h2>
- <p>The <code class="language-plaintext highlighter-rouge">start</code> option sets the number of handles and corresponding start positions.</p>
- <p>The <code class="language-plaintext highlighter-rouge">start</code> option uses the slider’s <code class="language-plaintext highlighter-rouge">'format'</code> option to decode the input. Number input will be cast to string and decoded.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider2","start": 30,"range": {"min": 0,"max": 100}}"></div>
- <p demo-slider="slider2"></p>
- <div data-slider="{"js-name": "slider3","start": [40,65],"range": {"min": 0,"max": 100}}"></div>
- <p demo-slider="slider3"></p>
- <div data-slider="{"js-name": "slider4","start": [25,50,75],"range": {"min": 0,"max": 100}}"></div>
- <p demo-slider="slider4"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider2","start": 30,"range": {"min": 0,"max": 100}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider2"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider3","start": [40,65],"range": {"min": 0,"max": 100}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider3"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider4","start": [25,50,75],"range": {"min": 0,"max": 100}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider4"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="range">range</h2>
- <p>All values on the slider are part of a range. The range has a minimum and maximum value. <strong>The minimum value cannot be equal to the maximum value.</strong></p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider5","start": 500,"range": {"min": -2000,"max": 10000}}"></div>
- <p demo-slider="slider5"></p>
- <div data-slider="{"js-name": "slider6","start": [-250,800],"range": {"min": -500,"max": 1000}}"></div>
- <p demo-slider="slider6"></p>
- <div data-slider="{"js-name": "slider7","start": [0.1,0.4,0.9],"range": {"min": 0.1,"max": 1}}"></div>
- <p demo-slider="slider7"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider5","start": 500,"range": {"min": -2000,"max": 10000}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider5"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider6","start": [-250,800],"range": {"min": -500,"max": 1000}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider6"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider7","start": [0.1,0.4,0.9],"range": {"min": 0.1,"max": 1}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider7"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="step">step</h2>
- <p>By default, the slider slides fluently. In order to make the handles jump between intervals, you can use the step option.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider8","start": 5000,"range": {"min": 1000,"max": 10000},"step": 1000}"></div>
- <p demo-slider="slider8"></p>
- <div data-slider="{"js-name": "slider9","start": 500,"range": {"min": 100,"max": 1000},"step": 125}"></div>
- <p demo-slider="slider9"></p>
- <div data-slider="{"js-name": "slider10","start": 50,"range": {"min": 10,"max": 100},"step": 5}"></div>
- <p demo-slider="slider10"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider8","start": 5000,"range": {"min": 1000,"max": 10000},"step": 1000}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider8"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider9","start": 500,"range": {"min": 100,"max": 1000},"step": 125}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider9"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider10","start": 50,"range": {"min": 10,"max": 100},"step": 5}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider10"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="connect">connect</h2>
- <p>The connect option can be used to control the bar between the handles or the edges of the slider.</p>
- <p>If you are using one handle, set the value to either <code class="language-plaintext highlighter-rouge">'upper'</code> or <code class="language-plaintext highlighter-rouge">'lower'</code>.
- For sliders with 2 or more handles, pass an array with a boolean for every connecting element, including the edges of the slider. The length of this array must match the handle count + 1.</p>
- <p>Setting true sets the bars between the handles, but not between the handles and the sliders edges.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider11","start": 8000,"connect": "lower","range": {"min": [2000],"max": [20000]}}"></div>
- <p demo-slider="slider11"></p>
- <div data-slider="{"js-name": "slider12","start": 8000,"connect": "upper","range": {"min": [2000],"max": [20000]}}"></div>
- <p demo-slider="slider12"></p>
- <div data-slider="{"js-name": "slider13","start": [4000, 8000, 12000, 16000],"connect": [false, true, true, false, true],"range": {"min": [2000],"max": [20000]}}"></div>
- <p demo-slider="slider13"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider11","start": 8000,"connect": "lower","range": {"min": [2000],"max": [20000]}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider11"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider12","start": 8000,"connect": "upper","range": {"min": [2000],"max": [20000]}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider12"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider13","start": [4000, 8000, 12000, 16000],"connect": [false, true, true, false, true],"range": {"min": [2000],"max": [20000]}}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider13"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="margin">margin</h2>
- <p>When using two handles, the minimum distance between the handles can be set using the margin option. The margin value is relative to the value set in ‘range’. This option is only available on linear sliders.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider14","start": [20,80],"range": {"min": 0,"max": 100},"margin":30}"></div>
- <p demo-slider="slider14"></p>
- <div data-slider="{"js-name": "slider15","start": [20,80],"range": {"min": 0,"max": 100},"margin":50}"></div>
- <p demo-slider="slider15"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider14","start": [20,80],"range": {"min": 0,"max": 100},"margin":30}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider14"</span><span class="nt">></p></span>
- <span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider15","start": [20,80],"range": {"min": 0,"max": 100},"margin":50}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider15"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="limit">limit</h2>
- <p>The <code class="language-plaintext highlighter-rouge">limit</code> option is the oposite of the margin option, limiting the maximum distance between two handles. As with the margin option, the <code class="language-plaintext highlighter-rouge">limit</code> option can only be used on linear sliders.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider16","start": [10,120],"connect":true,"range": {"min": 0,"max": 100},"limit":40,"behaviour":"drag"}"></div>
- <p demo-slider="slider16"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider16","start": [10,120],"connect":true,"range": {"min": 0,"max": 100},"limit":40,"behaviour":"drag"}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider16"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <h2 id="padding">padding</h2>
- <p>Padding limits how close to the slider edges handles can be.</p>
- <div class="example no_toc_section">
- <div class="example-content">
- <div data-slider="{"js-name": "slider17","start": [20,80],"range": {"min": 0,"max": 100},"padding":[10,15]}"></div>
- <p demo-slider="slider17"></p>
- </div>
- </div>
- <div class="example-code">
- <figure class="highlight">
- <pre><code class="language-html" data-lang="html"><span class="nt"><div</span> <span class="na">data-slider=</span><span class="s">'{"js-name": "slider17","start": [20,80],"range": {"min": 0,"max": 100},"padding":[10,15]}'</span><span class="nt">></div></span>
- <span class="nt"><p</span> <span class="na">demo-slider=</span><span class="s">"slider17"</span><span class="nt">></p></span></code></pre>
- </figure>
- </div>
- <p>That’s only the basic features and options of range slider. More possibilities can be found <a href="https://refreshless.com/nouislider/"><strong>here</strong></a>.</p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <footer class="footer footer-transparent d-print-none">
- <div class="container">
- <div class="row text-center align-items-center flex-row-reverse">
- <div class="col-lg-auto ms-lg-auto">
- <ul class="list-inline list-inline-dots mb-0">
- <li class="list-inline-item"><a href="../docs/index.html" class="link-secondary">Documentation</a></li>
- <li class="list-inline-item"><a href="../license.html" class="link-secondary">License</a></li>
- <li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
- <li class="list-inline-item">
- <a href="https://github.com/sponsors/codecalm" target="_blank" class="link-secondary" rel="noopener">
- <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
- <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink icon-filled icon-inline" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
- Sponsor
- </a>
- </li>
- </ul>
- </div>
- <div class="col-12 col-lg-auto mt-3 mt-lg-0">
- <ul class="list-inline list-inline-dots mb-0">
- <li class="list-inline-item">
- Copyright © 2021
- <a href=".." class="link-secondary">Tabler</a>.
- All rights reserved.
- </li>
- <li class="list-inline-item">
- <a href="../changelog.html" class="link-secondary" rel="noopener">v1.0.0-beta4</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </footer>
- </div>
- </div>
- <!-- Libs JS -->
- <script src="../dist/libs/nouislider/dist/nouislider.min.js"></script>
- <!-- Tabler Core -->
- <script src="../dist/js/tabler.min.js"></script>
- <script>
- let sliderTriggerList = [].slice.call(document.querySelectorAll("[data-slider]"));
- sliderTriggerList.map(function (sliderTriggerEl) {
- let options = {};
- if (sliderTriggerEl.getAttribute("data-slider")) {
- options = JSON.parse(sliderTriggerEl.getAttribute("data-slider"));
- }
- let slider = noUiSlider.create(sliderTriggerEl, options);
- if (options['js-name']) {
- window[options['js-name']] = slider;
- }
- });
- </script>
- </body>
- </html>
|