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

react-scrubber

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scrubber - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

lib/index.d.ts

3

package.json
{
"name": "react-scrubber",
"version": "1.2.0",
"version": "2.0.0",
"description": "React scrubber component with touch controls, styling, and lots event handlers",

@@ -30,3 +30,2 @@ "main": "./lib/index.js",

"files": [
"src",
"lib"

@@ -33,0 +32,0 @@ ],

@@ -64,4 +64,7 @@ # [react-scrubber](https://nick-michael.github.io/react-scrubber/)

| onScrubChange | function | No | Called on mouse move while scrubbing
| onMouseMove | function | No | Called with the scrub value of the cursor position when the mouse moves inside the scrubber element
| onMouseOver | function | No | Called with the scrub value of the cursor position when the mouse enters scrubber element
| onMouseLeave | function | No | Called with the scrub value of the cursor position when the mouse leaves scrubber element
| markers | Array<number \| { start: number, end?: number, className?: string }> | No | Adds yellow indicators to the scrubber bar
| tooltip | {<br /> &emsp;enabledOnHover?: boolean;<br /> &emsp;enabledOnScrub?: boolean;<br /> &emsp;className?: string;<br /> &emsp;formatString?: (value: number) => string;<br/>} | No | Renders a tooltip while hovering/scrubbing
| custom props | any | No | Any other props will be applied to the outermost 'scrubber' div
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