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 )

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.18latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.18
0.2.01
0.1.72
0.1.62
0.1.53
0.1.42
0.1.31
0.1.21
0.1.13
0.1.01

Package Sidebar

Install

npm i vue-js-parallax-component

Weekly Downloads

24

Version

0.2.1

License

MIT

Unpacked Size

27.3 kB

Total Files

6

Last publish

Collaborators

  • djurdjen