How to add and remove class only bottom side direction not both side
Nitekurs opened this issue · 3 comments
Nitekurs commented
How to add and remove class only bottom side direction not both side
k3nsei commented
You can pass to config your own checkFn
https://github.com/k3nsei/ng-in-viewport/blob/develop/projects/ng-in-viewport/src/lib/in-viewport-config.ts#L12
Nitekurs commented
Sorry Sir, i don't understand where is to pass this and how to pass this function to in my project.
Please look my example where i am trying to implement this library. And i have face flickering issue if using animation on them at the bottom. Demo
Please help me.
k3nsei commented
@Nitekurs Here https://stackblitz.com/edit/ng-in-viewport-issue-190 you pick up it from here.