C
C
Cyber_bober2017-03-10 14:37:42
Angular
Cyber_bober, 2017-03-10 14:37:42

How to assign an ng-click handler to an object with opacity:0?

Hello, I ran into such a problem:
there are elements with opacity: 0 that animate and appear when scrolling, and ng-click stops working for them. How to make it work?
Thank you.
PS I post an example https://kibernetikus.github.io/
on the first screen, the link animates and stops moving to the anchor,
893608e8698948a9b7d1a8ef12791e81.png
and the second one a little lower without animation and works
0448ff65d2354c809971ae2709978b4c.png
Sorry for the crooked layout, I didn’t find a faster way to convey the problem using an example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GTRxShock, 2017-03-17
@Cyber_bober

For animations, it is better to look towards ngAnimate
But if you need reveal.js functionality , then look at ready-made wrappers for it: ng-reveal or angular-reveal

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question