ifvisible.js
ifvisible.js copied to clipboard
No debounce is applied
Currently, the event gets fired on every user interaction such as clicking multiple times, moving mouse or resizing window. Debounce must be applied to prevent browser from getting bogged down quickly.
@quantbhn93 I have just released an updated version of this library with throttling added as an improvement. Please see 3.2.0 https://github.com/rosskevin/ifvisible/releases