anthonyshort-offset

    0.0.1 • Public • Published

    offset

    Get the xy offset of an element

    Installation

    $ component install anthonyshort/offset
    

    API

    offset(document.querySelector('#foo')).top
    offset(document.querySelector('#bar')).left
    

    License

    MIT

    Keywords

    none

    Install

    npm i anthonyshort-offset

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • anthonyshort