1.3.0 • Published 4 years ago
react-parlx v1.3.0
react-parlx
parlx.js implementation for React.js component
Demo
How to Use
• Install plugin via favourite package manager:
$ npm install react-parlx
$ yarn add react-parlx
Getting Started
• Import plugin in React.js application file:
import ReactParlx from 'react-parlx';
• Later create parallax component and pass options:
<ReactParlx
overlay={ /* true/false */ }
options={ /* options */ }
styles={ /* CSS styles */ }
className={ /* class name(s) */ }
parlxMove={ /* event output destination */ }
/>
You can add components with or without additional content:
with:
<ReactParlx /* options */>
// additional content
</ReactParlx>
without:
<ReactParlx /* options *//>
Props
Name | Type | Default | Description | Available options |
---|---|---|---|---|
overlay | boolean | false | Create overlay for parallax container element | true (enable) / false (disable) |
style | object | {} | CSS styles for parallax container | CSS styles |
options | object | {} | Default parlx.js options | parlx.js options |
className | string | parallax | Parallax container class name | Name of parallax container |
Event
parlxMove
event will output current position of the parallax element
License
This project is licensed under the MIT License © 2018-present Jakub Biesiada
1.4.0-beta.4
4 years ago
1.4.0-beta.3
4 years ago
1.4.0-beta.2
4 years ago
1.4.0-beta.1
4 years ago
0.0.1
5 years ago
1.3.0
5 years ago
1.3.0-beta.2
5 years ago
1.3.0-beta.1
5 years ago
1.2.0
5 years ago
1.2.0-beta.2
5 years ago
1.2.0-beta.1
5 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.3-beta.1
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
1.0.0-beta.1
6 years ago
1.0.0-alpha.1
6 years ago