🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@lahautesociete/vue-parallax

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lahautesociete/vue-parallax

LHS Vue plugin to use @lahautesociete/parallax in Vue with directives

latest
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

LHS Vue Parallax

LHS Vue plugin to use lhs-parallax in Vue with a directive.

Installation

npm install @lahautesociete/vue-parallax

Usage

main.js

Import Vue and LhsParallax somewhere in your entry file.
Then tell Vue to use LhsParallax plugin.

import Vue from 'vue';
import LhsVueParallax from '@lahautesociete/vue-parallax'
Vue.use(LhsVueParallax);

CustomComponent.vue

In your vue template, add a HTML element with the v-parallax directive and specify a parallax level.
You can add an optional modifier (x / y) to specify the parallax direction.

<div v-parallax.x="5"></div>

FAQs

Package last updated on 30 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts