Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 465 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 465 Bytes

Acrool JS Utils / Browser

Queries related to browser functionalities, such as console.log, scroll height, window clientHeight.

Features

getScrollHeight

Get the total height of the scroll

import {getScrollHeight} from '@acrool/js-utils/browser'

getScrollHeight()
// 794

getWindowHeight

Get the height displayed by the browser

import {getWindowHeight} from '@acrool/js-utils/browser'

getWindowHeight()
// 794