vue-sticky-alter
v1.0.0
Published
Sticky directive for Vue 2.x. Based on rguanghui/vue-sticky (https://github.com/rguanghui/vue-sticky)
Downloads
12
Readme
Vue Sticky
Overview
Sticky plugin for Vue 2. Based on rguanghui/vue-sticky
Installation
$ yarn add vue-sticky-alter
or
$ npm install vue-sticky-alter
import Vue from 'vue'
import VueSticky from 'vue-sticky-alter'
Vue.use(VueSticky)
Usage
<ELEMENT v-sticky="{ zIndex: NUMBER, stickyTop: NUMBER }">
<div> <!-- sticky wrapper, IMPORTANT -->
CONTENT
</div>
</ELEMENT>