Skip to content

NgTiltParallax doesn't work #18

Description

@Tythla

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions