Skip to content
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

NgTiltParallax doesn't work #18

Open
Tythla opened this issue Jul 8, 2024 · 1 comment
Open

NgTiltParallax doesn't work #18

Tythla opened this issue Jul 8, 2024 · 1 comment

Comments

@Tythla
Copy link

Tythla commented Jul 8, 2024

Hi, I tried to use ngTiltParallax but got ERROR: Required input 'distance' from directive NgTiltParallaxDirective must be specified. in my terminal
My code is:

<div class="movie-item" [ngStyle]="..." ngTilt>\
    <div class="image" ngTiltParallax>
        <img [src]="...">    
    </div>
    ...
</div>

The ngTilt alone works just fine but parallax just doesn't.

My Angular version is 18.0.6. Could this be the problem?

Thanks.

@geometricpanda
Copy link
Owner

Hey it's been a while since I first wrote this

Could you provide a minimal reproduction and I'll be able to take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants