krescruz / angular-materialize

Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize
MIT License
397 stars 129 forks source link

Parallax directive not working #215

Closed avatsaev closed 7 years ago

avatsaev commented 7 years ago

Use below template if reporting an error

Describe the error in 1 sentence

Parallax directive not working, skimmed though the source code, couldn't find parallax directive defined anywhere.

Steps to reproduce

use parallax directive such as described in the documentation:


 <div class="parallax-container">
    <div  parallax><img src="/assets/images/banner.jpeg"></div>
  </div>

What exactly is supposed to happen

parallax effect on the image when scrolling

What exactly does happens

nothing

A link to a page clearly demonstrating the issue

[INSERT LINK]

You can use this: http://jsfiddle.net/Lvc0u55v/5757/ as a starting point (although the libraries might be old in that JSFiddle, which is your problem).

Since a lot of issues tend to be people not including all the dependencies, or some other issue not directly caused by angular-materialize, you cannot expect us to copy paste code in order to replicate your issue. If no link to a page where the issue is present is provided, expect the issue to be closed.

avatsaev commented 7 years ago

oops! sorry wrong repo, this concerns angular2 materialize.