@netsells/vue-parallax

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @netsells/vue-parallax

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

17.8 kB

Total Files

12

Last publish

Collaborators

  • rebeccaanderton
  • samturrell
  • spamoom
  • jakub.gawron