@netsells/vue-parallax
A simple vue component to add parallax background images. ## Installation ```bash npm install @netsells/vue-parallax ``` or ```bash yarn add @netsells/vue-parallax ``` ## Basic Usage ```javascript <v-parallax :background="[IMAGE_URL]" :speed="[PARALLAX_
Last updated 2 years ago by rowancollins89 .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @netsells/vue-parallax 
SYNC missed versions from official npm registry.

Vue Parallax

A simple vue component to add parallax background images.

Installation

npm install @netsells/vue-parallax

or

yarn add @netsells/vue-parallax

Basic Usage

<v-parallax :background="[IMAGE_URL]" :speed="[PARALLAX_SPEED]">
    [INNER_HTML_CONTENT]
</v-parallax>

Props

Prop Required Type Description
background Required String Should be a URL of an image
speed Required Number Should be a number between 0 and 1
outerClasses String Additional classes to add to the outer div
innerClasses String Additional classes to add to the div with the background-image

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

3 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |