new-eagle-eye

3.0.1 • Public • Published

eagle-eye

  1. introduction:

    The eagle-eye is a minimal map for web pages, in this way, users can posite their position of web pages.

  2. usage:

    step 1: include the library into your project with npm:

    npm install --save new-eagle-eye

    step 2: use:

    import eagleEye from 'new-eagle-eye'
    
    eagleEye.init(config)

    the param is a object, default value is:

    {
      show=(pageWidth >= 2 * clientWidth || pageHeight >= 2 * clientHeight)
    }

Enjoy😋

Package Sidebar

Install

npm i new-eagle-eye

Weekly Downloads

14

Version

3.0.1

License

ISC

Unpacked Size

220 kB

Total Files

16

Last publish

Collaborators

  • eniumeng