Skip to main content

10 docs tagged with "hook"

View All Tags

useGeolocation

useGeolocation is a hook which return location information.

useIntersectionObserver

useIntersectionObserver is an intersection function which trigger when it reach the targets.

useIsEmail

useIsEmail is a hook which return true if the value that give match email regex pattern.

useLanguage

useLanguage is a hook use to detect a current languauge is being used as your preference.

useMouseMove

useMouseMove is a hook which return `ts clientX`, `ts clientY`, `ts pageX`, `ts pageY`

useNetworkConnection

useNetworkConnection is a hook which return network type, downlink, rtt, saveData

useWindowScroll

useWindowScroll is a hook which return `ts scrollX`, `ts scrollY` when scrolling.

useWindowSize

useWindowSize is a hook which return `ts height`, `ts widht` when resizing the window.