Open sqnkov opened 7 years ago
That's an intriguing idea.
Right now, the parallax directive isn't equipped to do that. It's focusing on the onscroll
event of any given element or the page body, rather than the mouseover
, mousemove
, and mouseout
events of the affected element. This particular feature isn't something that would be easily implemented, as it takes a completely different road than the current directive does.
However, this is something I feel like could be implemented into another directive like it. It doesn't look super difficult to implement. If I have a bit more time to focus on it (which I may this evening on my open-source projects), then I may even start to work on that feature, if you would like.
@cwadrupldijjit , I am currently a novice to Angular 2 , if You manage to do this it would be beyond awesome!
Share your thoughts about the process when you have the time!
Many thanks in advance!
@cwadrupldijjit , is it possible to implement the same functionality observed in Vanilla Tilt JS:
https://micku7zu.github.io/vanilla-tilt.js/