How can I get rid of the parallax action when it has an attribute?
is the tag that has the attribute:
<parallax-image ng-class="{{fixo}}"
src="/parallax-image/assets/images/image-01.jpg"></parallax-image>
This is the css that has the attribute:
[class^="fixo"] {
background-color: color($grey, 200);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
display: block;
height: 0;
overflow: hidden;
padding-bottom: 40%;
position: relative;
width: 100%;
}
And js is this:
if ('.fixo' == true) {
return true;
} else {
return false;
}