1.0.2 • Published 7 years ago

visible-holder v1.0.2

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

visible-holder

It is a React Component, can be placed anywhere of your components.

Whenever it is shown or hidden, onSeen and onGone will be called respectively.

Usage

import VisibleHolder from 'visible-holder';

...
<VisibleHolder
    onGone={this.onGone}
    onSeen={this.onSeen}
    scrollThrottle={16}
    container={this.refs.container}
/>
...