@doux/react-document-visibility
v0.5.0
Published
by Doux import useDocumentVisibility, take { count, visible, onVisibilityChange } count - amount time u hide and open ur webpage --number-- visible - open ur webpage right now --true/false-- onVisibilityChange - u can hang up ur event on hide or ope
Downloads
327
Readme
by Doux import useDocumentVisibility, take { count, visible, onVisibilityChange } count - amount time u hide and open ur webpage --number-- visible - open ur webpage right now --true/false-- onVisibilityChange - u can hang up ur event on hide or open webpage -- receive callback -- (visible) => void v. 0.5.0