🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

vue-parallaxo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-parallaxo

Simple background parallax for Vue.js

0.1.9
latest
npm
Version published
Weekly downloads
26
44.44%
Maintainers
1
Weekly downloads
 
Created
Source

Vue Parallaxo

Simple background parallax for Vue.js

The only parallax effect supported for now one single background which seems farther away from the user compared to main content.

Using pure CSS for the background effect and javascript for ensuring the scroll does not go beyond parallax content limit.

Installation

NPM

npm install vue-parallaxo

Yarn

yarn add vue-parallaxo

Usage

Import Vue Parallaxo

// Import Vue Picture Colouring
import VueParallaxo from 'vue-parallaxo'

export default {
    name: {
        'home-page'
    },
    components: {
        VueParallaxo          // Declare the component
    }
}

And simply use it giving a background image and content.

<vue-parallaxo src="path/to/background/picture.jpg">
  Your content goes here
</vue-parallaxo>

Keywords

vue

FAQs

Package last updated on 05 Sep 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