jarallaxElement Not working
intositeme opened this issue · comments
intositeme commented
Using inside my js with webpack.
Followed the docs, but nothing happens & no errors.
import {
jarallax,
jarallaxElement
} from 'jarallax';
jarallaxElement();
Added these instead and it works
<!-- Include it if you want to parallax any element -->
<script src="https://unpkg.com/jarallax@1/dist/jarallax.min.js"></script>
<script src="https://unpkg.com/jarallax@1/dist/jarallax-element.min.js"></script>
Nikita commented