new-eagle-eye
v3.0.1
Published
eagle eye for webpages
Downloads
27
Readme
eagle-eye
introduction:
The eagle-eye is a minimal map for web pages, in this way, users can posite their position of web pages.
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😋