Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@baianat/rangeslider
Advanced tools
ES6 range slider
<head>
<link rel="stylesheet" href="dist/css/slider.css">
</head>
<body>
...
<script type="text/javascript" src="dist/js/slider.js"></script>
</body>
you need an input to output the value in it
<input id="slider-1">
<script>
let s1 = new Slider('#slider-1', {
gradient: ['#FFE344', '#38E4B7'],
min: 0,
max: 100,
step: 1,
value: 60
});
</script>
you can also add value, min, max and step value using input attributes
<input id="slider-2" min="-10" max="10" value="0" step="1">
<script>
let s2 = new Slider('#slider-2');
</script>
Properties | default | description |
---|---|---|
gradient | null | slider gradient array color |
classes | null | classes to add to range slider |
colorCode | false | show color code istead of value |
editable | false | can input the slider value directly |
label | true | show/hide value label |
min | 0 | minimum slider value |
max | 10 | maximm slider value |
step | 1 | limit the increments value |
value | 0 | start value |
Copyright (c) 2017 Baianat
FAQs
ES6 rangeslider
The npm package @baianat/rangeslider receives a total of 1 weekly downloads. As such, @baianat/rangeslider popularity was classified as not popular.
We found that @baianat/rangeslider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.