0.1.0 • Published 6 years ago

vue-check-viewport v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

vue-check-viewport

A simple vue component which can check the element whether in the specail(window default) viewport

features

  1. Use IntersectionObserver first if the browser support.

install

$ npm i vue-check-viewport

usage

<ul>
    <vue-check-viewport tag="li" :class="{visited: item.visited}" v-for="(item, index) in list" @on-visible="onVisible(index)" @on-un-visible="onUnVisible(index)">{{ item.val }}</vue-check-viewport>
</ul>
0.1.0

6 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago