Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
range-slider-element
Advanced tools
Readme
A customizable range slider element.
Accessible range slider custom element with keyboard support.
Follows the ARIA best practices guide on sliders.
$ npm install range-slider-element
import 'range-slider-element';
<range-slider min="0" max="100" step="1"></range-slider>
min
The minimum permitted value. The default is 0.max
The maximum permitted value. The default is 100.step
The stepping interval. The default is 1.value
The value. The default is min + (max - min) / 2
.dir
Directionality. The default is ltr.Exposed CSS custom properties scoped within the range-slider
element.
--value-percent
- The current value in percentage, e.g. 50%range-slider {}
range-slider .thumb-wrapper {}
range-slider .thumb {}
input
- Pointer move, value updated. Bubbles.change
- Pointer up, value updated. Bubbles.Browsers without native custom element support require a polyfill.
MIT © André Ruffert
FAQs
A customizable range slider element
The npm package range-slider-element receives a total of 536 weekly downloads. As such, range-slider-element popularity was classified as not popular.
We found that range-slider-element 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.