New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-range-slider

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-range-slider - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

example/app.js

@@ -20,3 +20,3 @@ var React = window.React = require('react');

<div id='main'>
<RangeSlider max={200} step={10} value={['#FAD', '#FADFAD']} withBars range/>
<RangeSlider value={[ '#42c6da','#3cb9ec','#42a5f5','#4a80df','#5c6bc0']} withBars/>
</div>

@@ -23,0 +23,0 @@ </div>

@@ -181,2 +181,3 @@ var React = require('react/addons');

withBars: false,
withCursor: false,
pearling: false,

@@ -367,5 +368,8 @@ disabled: false,

renderCursors: function (offsets) {
var handlers = offsets.map(function (offset, i) {
var handlers = [];
if(this.props.withCursor) {
handlers = offsets.map(function (offset, i) {
return this.renderCursor(offset, i + 1)
}, this);
}
if (this.state.header) {

@@ -372,0 +376,0 @@ handlers.splice(0, 0, this.renderCursor(this.calcOffset(this.state.min), 0,

{
"name": "react-range-slider",
"version": "0.0.2",
"version": "0.0.3",
"description": "A flexible slider for reactjs.",

@@ -5,0 +5,0 @@ "main": "index.js",

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