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=""/>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i vue-intersection-obs

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

3.29 kB

Total Files

4

Last publish

Collaborators

  • kazerlelutin