Nostradamus Predicting Maelstroms

    @keqingrong/dom-utils

    0.1.0 • Public • Published

    @keqingrong/dom-utils

    npm version

    Utilities for DOM, CSSOM

    English | 简体中文

    Installation

    npm install @keqingrong/dom-utils

    API

    • getPageScrollOffset()
    • getPageSize()
    • getViewportSize()
    • getElementBoundingRect(element)
    • isInViewport(element)
    • isOutOfViewport(element)
    • isIntersectWithViewport(element)

    License

    MIT © Qingrong Ke

    Install

    npm i @keqingrong/dom-utils

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    8.82 kB

    Total Files

    8

    Last publish

    Collaborators

    • dearke