0.1.0 • Published 5 years ago

vue-check-viewport v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 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

5 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago