Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

range-slider-element

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

range-slider-element

> A custom element drop in replacement for the input type range element.

  • 1.0.0-beta.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
782
increased by8.46%
Maintainers
1
Weekly downloads
 
Created
Source

<range-slider> element

A custom element drop in replacement for the input type range element.

npm version

Accessible range slider custom element with keyboard support. Follows the ARIA best practices guide on sliders.

  • No dependencies
  • Customizable styling
  • Keyboard accessible

Install

$ npm install range-slider-element

Usage

import 'range-slider-element';
<range-slider min="0" max="100" step="1"></range-slider>

Events

input

The input event gets fired from the <range-slider> element when the value updates.

This event bubbles, and can be canceled.

document.addEventListener('input', event => {
  event.preventDefault();
});

License

MIT © André Ruffert

FAQs

Package last updated on 06 Oct 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc