react-scrubber
Advanced tools
Comparing version 1.2.0 to 2.0.0
{ | ||
"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 />  enabledOnHover?: boolean;<br />  enabledOnScrub?: boolean;<br />  className?: string;<br />  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 |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
35442
7
481
70
1