I want to know how can I use an conditional slicepipe in an ngFor to control the data displayed ?
For example to choose the number of videos displayed on a list/grid for example like these commons dropdowns :
What I'm trying to do now is:
<app-example
class="items-list-item"
*ngFor="let item of datas.video | slice:0:1"
[itemvideo]='item'>
</app-example>
But how I can do this dynamically when I change the value on the select dropdown ?