react-countup
Advanced tools
Comparing version 6.3.0 to 6.3.1
@@ -152,3 +152,4 @@ 'use strict'; | ||
enableScrollSpy = props.enableScrollSpy, | ||
scrollSpyDelay = props.scrollSpyDelay; | ||
scrollSpyDelay = props.scrollSpyDelay, | ||
scrollSpyOnce = props.scrollSpyOnce; | ||
return new countup_js.CountUp(el, end, { | ||
@@ -168,3 +169,4 @@ startVal: start, | ||
enableScrollSpy: enableScrollSpy, | ||
scrollSpyDelay: scrollSpyDelay | ||
scrollSpyDelay: scrollSpyDelay, | ||
scrollSpyOnce: scrollSpyOnce | ||
}); | ||
@@ -171,0 +173,0 @@ }; |
{ | ||
"name": "react-countup", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "A React component wrapper around CountUp.js", | ||
@@ -40,4 +40,4 @@ "author": "Glenn Reyes <glenn@glennreyes.com> (https://twitter.com/glnnrys)", | ||
"devDependencies": { | ||
"@babel/core": "7.18.5", | ||
"@babel/preset-env": "7.18.2", | ||
"@babel/core": "7.18.13", | ||
"@babel/preset-env": "7.18.9", | ||
"@babel/preset-react": "7.17.12", | ||
@@ -49,3 +49,3 @@ "@babel/preset-typescript": "^7.14.5", | ||
"@typescript-eslint/parser": "^4.29.1", | ||
"babel-jest": "28.1.1", | ||
"babel-jest": "28.1.3", | ||
"eslint": "^7.32.0", | ||
@@ -56,3 +56,3 @@ "eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"jest": "28.1.1", | ||
"jest": "28.1.2", | ||
"jest-environment-jsdom": "^28.1.1", | ||
@@ -64,3 +64,3 @@ "prettier": "2.7.1", | ||
"react-test-renderer": "18.2.0", | ||
"rollup": "2.75.7", | ||
"rollup": "2.77.2", | ||
"rollup-plugin-babel": "4.4.0", | ||
@@ -67,0 +67,0 @@ "typescript": "^4.3.5" |
@@ -302,2 +302,6 @@ # [React CountUp](https://tr8tk.csb.app/) | ||
#### `scrollSpyOnce: boolean` | ||
Run scroll spy only once | ||
#### `onEnd: ({ pauseResume, reset, start, update }) => void` | ||
@@ -304,0 +308,0 @@ |
30258
446
453