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

rn-range-slider

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rn-range-slider - npm Package Compare versions

Comparing version 1.1.6 to 1.2.0

2

package.json
{
"name": "rn-range-slider",
"version": "1.1.6",
"version": "1.2.0",
"author": "Tigran Sahakyan <mail.of.tigran@gmail.com>",

@@ -5,0 +5,0 @@ "description": "React Native Range Slider for Android and iOS",

@@ -56,3 +56,3 @@ # RangeSlider

|----------|-----------------------|------|:-------------:|
| onValueChanged | A callback to be called when value was changed.<br/>**(lowValue, highValue, fromUser) => {}**<br/>**fromUser** parameter is true if the value was changed because of user's interaction (not by setting **lowValue** or **highValue** properties). Just like android's [OnSeekbarChangeListener](https://developer.android.com/reference/android/widget/SeekBar.OnSeekBarChangeListener). | Function | **4** |
| onValueChanged | A callback to be called when value was changed.<br/>**(lowValue, highValue, fromUser) => {}**<br/>**fromUser** parameter is true if the value was changed because of user's interaction (not by calling **setLowValue** or **setHighValue** methods). Just like android's [OnSeekbarChangeListener](https://developer.android.com/reference/android/widget/SeekBar.OnSeekBarChangeListener). | Function | **4** |
| rangeEnabled | Slider works as an ordinary slider with 1 control if false | Boolean | **true** |

@@ -84,7 +84,8 @@ | lineWidth | Width of slider's line | Number | **4** |

If **initialLowValue** ( or **initialHighValue**) is not provided, it's set to **min** (or **max**).
#### Methods
To call methods on slider you need to have a reference to it's instance.
React native provides 2 ways to do it.
And after that you can call these methods on that instance.
To call methods of ```RangeSlider``` you need to have a reference to it's instance.<br/>
React native provides 2 ways to do it:

@@ -109,2 +110,4 @@ ```

#### Available methos
| Method | Description | Params |

@@ -111,0 +114,0 @@ |----------|-----------------------|------|

Sorry, the diff of this file is not supported yet

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