vue-prlx

Vue.js parallax directive you were looking for
6,102 166
Install
npm install vue-prlx
Latest Version:1.3.4
License:MIT
Last Updated:Jan 3, 2023
Links: GitHub  ·  npm
Maintainer: gerasim_vol

vue-prlx

npm npm

Demo and settings

🛠 Install

npm i vue-prlx
yarn add vue-prlx

🔌 Initialization

ES2015 (Webpack/Rollup/Browserify/etc)
import Vue from 'vue'

// As a plugin
import VuePrlx from 'vue-prlx'
Vue.use(VuePrlx);

// Or as a directive
import { VuePrlxDirective } from 'vue-prlx'
Vue.directive('prlx', VuePrlxDirective);
UMD (Browser)
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-prlx/dist/v-prlx.min.js"></script>
<script>
// As a plugin
Vue.use(VuePrlx.VuePrlxPlugin);

// Or as a directive
Vue.directive('prlx', VuePrlx.VuePrlxDirective);
</script>

⚙️ Demo and settings

Related Packages

v-download

Vue.js directive to download (and optionally transform) data

4,466 2
vue-scroll

scroll directive for vuejs 2.0

345,040 242
@centaurea/vue3-scroll

vue 3 version of vue-scroll

2,682 1
vue-kinesis

Easily create complexe interactive animations with Vue.js

132,497 1,497
v-scroll-threshold

A vue directive that accepts a threshold value and a callback function that tell...

31,165 1

Version History

Version Released License
1.3.4 MIT
1.3.3 MIT
1.3.2 MIT
1.3.1 MIT
1.3.0 MIT