
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
bootstrap-double-slider
Advanced tools
Bootstrap Style Multi-Range Slider
Licence: MIT Licence
full use free of charge
html:
<div class="bs-multi-range">
<div class="track">
<div class="thumb upper"></div>
<div class="thumb lower" style="--thumb-color: yellow"></div>
<div class="track-diff"></div>
</div>
</div>
(track-diff is optional)
Thumb color can be changed via CSS variable
js:
import { DoubleSlider } from "bootstrap-double-slider";
new DoubleSlider(el: HTMLElement | string, min: number,
max: number, thumbSize: number, autoUpdate: boolean,
emitEvents: boolean, clickTrack: boolean)
min, max: position the sliders are at initialisation (in percent) (default 0, 100)
thumbSize: only modify when overwriting the --thumb-size css variable and set it to the value in px (default: 16)
autoUpdate: if set to true (default) the boundingClientRect gets updated every time values are changed (via drag/mouse or programmatically doesn't matter). Only set to false if you are sure your element never changes
emitEvents: if set to true (default) a "change" event gets emitted
clickTrack: if set to true (default) a click on the track element leads to a value change. The closest thumb will switch to clicked position
FAQs
bootstrap style multi-range slider
We found that bootstrap-double-slider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.