Comments (1)
I suppose this is possible, but I haven't really looked into doing auto-detection. The idea for this directive (at least, for the first iteration) was to keep it simple, and you do the rest. There are some complexities that I'd have to deal with and some opinions that I'd have to enforce on how you want the parallax effect to behave, and I'd suspect that wouldn't be quite as preferred for some.
But I'd be interested in your use-case. Do you have an example you could show me? That is, of course, if you're still interested. I know that I haven't been a great maintainer, and that is something that I want to be better about.
I will also be moving this issue to the new repo, because a similar concern may arise with the updates to Angular. To take a look at the current package, go here:
cwdj-parallax
from ng2-parallax.
Related Issues (12)
- System is not defined exception HOT 3
- E:/work/seed-project/portfolio/src/app/app.module.ts (26,9): Cannot find name 'ParallaxConfig'.) HOT 2
- RQ: Implement parallax on mouseover HOT 2
- Can't get it to work in Ionic3 HOT 2
- Broken link with examples HOT 3
- Not working in rc1 HOT 7
- Does this directive use the new ng2 animate? HOT 3
- Disable Background-repeat and apply aspect fit/fill for parallax image HOT 4
- Workflow to publish js files HOT 2
- Wrong config params on the documentation (Readme.md) HOT 3
- App Module works just fine with angular-cli HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng2-parallax.