vue-js-parallax-component

0.2.1 • Public • Published

A component creating a parallax effect on an image within a container

Install

npm install --save-dev vue-js-parallax-component

Usage

import VueParallax from "vue-js-parallax-component";
 
export default {
  components: { VueParallax }
};
<vue-parallax image="https://via.placeholder.com/1280x400.png">
  <span>Optional content</span>
</vue-parallax>

Properties

Property Type default Description
image string (Required) The image used for the parallax effect
intensity number 15 Intensity of the parallax effect ( 20 is highest )

Package Sidebar

Install

npm i vue-js-parallax-component

Weekly Downloads

23

Version

0.2.1

License

MIT

Unpacked Size

27.3 kB

Total Files

6

Last publish

Collaborators

  • djurdjen