doesn't work with angular ngfor / ngif on it
matanabatian opened this issue · 1 comments
matanabatian commented
doesn't work with angular ngfor / ngif on it
msaqibaziz commented
Resolved !
I had the same problem. I was running venobox on dynamic data coming from API. And Implemented ngFor on dynamic data coming from the API. It wasn't working because I was initializing VenoBox in ngAfterViewInit.
Solution is to initialize it after getting the data from API.
$(document).ready(function() {
$('.venobox').venobox();
});