Onload the page the slick work fine because I display the first menu cause of this function on foodsComponent ngOnInit() {this.onGetFoodsByCategorie(1);}
but when I click in any menu the slick dosnt work I find the reason why this is happening is because the plugin itself drastically modifies the html that is generated by the *ngfor leaving angular unable to update the repeater as it no longer can identify the structure.
How -.Uninitialize the plugin.
-.Update the repeater.
-.Reinitialize the plugin.
I use slick carousel as a component in my angular project ; this slick component is like below :
in the template of foodsComponent who use this slick component I have a menu of 7 tab list each one fetch different content:
Onload the page the slick work fine because I display the first menu cause of this function on foodsComponent
ngOnInit() {this.onGetFoodsByCategorie(1);}
but when I click in any menu the slick dosnt work I find the reason why this is happening is because the plugin itself drastically modifies the html that is generated by the *ngfor leaving angular unable to update the repeater as it no longer can identify the structure. How -.Uninitialize the plugin. -.Update the repeater. -.Reinitialize the plugin.