Angular 5+ orderBy pipe. ... template: ` <ul> <li *ngFor="let item of array | orderBy: order"> {{ item.name }} </li> </ul> ` }) export class AppComponent ...
確定! 回上一頁