Socket
Socket
Sign inDemoInstall

vue3-parallax

Package Overview
Dependencies
22
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue3-parallax

Vue.js 3 plugin for simple parallax.


Version published
Weekly downloads
124
decreased by-16.78%
Maintainers
1
Install size
14.8 MB
Created
Weekly downloads
 

Readme

Source

vue3-parallax

A simple Vue.js 3 parallax component.

You can see the demo here : https://lioruby.github.io/vue3-parallax/

Get Started

With yarn

yarn add vue3-parallax

With npm

npm i vue3-parallax

To use it in your Vue app

// main.js

import { createApp } from 'vue'
import App from './App.vue'
import ScrollParallax from 'vue3-parallax/src/components/ScrollParallax.vue';


const app = createApp(App);
app.component('scroll-parallax', ScrollParallax);

// ...

To use it just as component:

import ScrollParallax from 'vue3-parallax/src/components/ScrollParallax.vue';

export default {
  components: {
    ScrollParallax
  },

// ...

Usage

<scroll-parallax>
  <YourComponent/>
</scroll-parallax>
PropsTypeValueDefault
speedNumberbelow 0.60.15
directionStringx/yy
upBooleantrue
downBooleanfalse
leftBooleanfalse
rightBooleantrue

Keywords

FAQs

Last updated on 04 Jul 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc