vue-intersection-obs

0.0.4 • Public • Published

Vue Intersection observer

description

DEV Verison - not working for the moment. triggers an "interObs" event when the scroll of the page arrives at the component level.

Usage

usign npm

$ npm install vue-intersection-obs

import in our template VueJs this component :

    <InterObStart  @interObs=""/>

Add your function or condition in "@interObs" to trigger it by scrolling.

You can use a custom threshold with a prop "threshold"

    <InterObStart  @interObs="" threshold=""/>

Readme

Keywords

none

Package Sidebar

Install

npm i vue-intersection-obs

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

3.29 kB

Total Files

4

Last publish

Collaborators

  • kazerlelutin