File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ There are a few breaking changes in version 4:
143143- keydown
144144- wheel
145145- DOMMouseScroll
146- - mouseWheel
146+ - mousewheel
147147- mousedown
148148- touchstart
149149- touchmove
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ declare module 'react-idle-timer' {
2020 'copy' |
2121 'cut' |
2222 'dblclick' |
23+ 'DOMMouseScroll' |
2324 'drag' |
2425 'dragend' |
2526 'dragenter' |
@@ -54,6 +55,8 @@ declare module 'react-idle-timer' {
5455 'mouseout' |
5556 'mouseup' |
5657 'mousewheel' |
58+ 'MSPointerDown' |
59+ 'MSPointerMove' |
5760 'offline' |
5861 'online' |
5962 'open' |
@@ -88,7 +91,8 @@ declare module 'react-idle-timer' {
8891 'unload' |
8992 'volumechange' |
9093 'waiting' |
91- 'wheel'
94+ 'wheel' |
95+ 'visibilitychange'
9296
9397 export default class IdleTimer extends React . Component < IdleTimerProps > {
9498 /**
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const DEFAULT_EVENTS = [
2424 'keydown' ,
2525 'wheel' ,
2626 'DOMMouseScroll' ,
27- 'mouseWheel ' ,
27+ 'mousewheel ' ,
2828 'mousedown' ,
2929 'touchstart' ,
3030 'touchmove' ,
You can’t perform that action at this time.
0 commit comments