-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular Example? #132
Comments
bump 👍 |
1 similar comment
bump 👍 |
Start by adding the stylesheet in angular.json build section. Don't worry about the JS file, we'll deal with that. To get Jarallax working in Angular I found that in my component I had to import Jarallax like so.
And then in ngInit I have to run
And then in the component stylesheet add
I cannot get the settings to work and neither data attributes. |
If you get the error: jarallax.esm.js:109 Uncaught ReferenceError: global is not defined at Module../node_modules/jarallax/src/jarallax.esm.js Adding this line to polyfills.ts should resolve node global error |
I cannot get jarallax working in my angular 8 project. It shows back-ground images, no errors displayed. But no parallax effect either. Before angular project I tested jarallax with a common web site. Everything was fine. |
Hopefully this helps you all. With a little trial and error I got it working in my Angular 8 project...
|
Hi @bdairy, I'm having the same using with the same Angular version. Did you come to a solution? |
Is there an angular example anywhere? Can't seem to get this working in my angular project... Thanks! :)
The text was updated successfully, but these errors were encountered: