ionik ngFor menunjukkan jumlah item terbatas
<li *ngFor="let item of list | slice:0:10;">{{item.text}}</li>
Knerbel
<li *ngFor="let item of list | slice:0:10;">{{item.text}}</li>
<li *ngFor="let item of list; let i=index" class="dropdown-item" (click)="onClick(item)">
<template [ngIf]="i<11">{{item.text}}</template>
</li>