1.0.1 • Published 2 years ago

fire-here v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

About FireHere component

Simple component to execute commands when scrolling the page to the location of the component

Step 1

Use the npm i fire-here to install

Step 2

import {FireHere} from 'fire-here'

Step 3

To use it you need to write inside JSX
<FireHere id='etc' onHereFn={doShomthingFunction} />

  • id : Unique ID value must be assigned to each component
  • onHereFn : Function or executable code

Live Demo

View a live sample in the codesandbox