Package Exports
- parallax_content
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (parallax_content) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
parallaxContent
Demo
https://lemehovskiy.github.io/parallaxContent/demo/
Data Attribute Settings
In parallaxContent you can now add settings using the data-parallax-content attribute. You still need to call $(element).parallaxContent() to initialize parallaxContent on the element.
Example:
<div data-parallax-content='{"shift": 10, "duration": 4}'>
Lorem ipsum
</div>
Settings
Option | Type | Default |
---|---|---|
shift | int | 10 |
duration | int | 1.5 |
Browser support
- Chrome
- Firefox
- Opera
- IE10/11
Dependencies
jQuery 1.7