Answers for "ionic maintain order of object properties"

1

ionic maintain order of object properties

<ion-item *ngFor="let item of subscriptionList | keyvalue: descOrder">

//in page.ts file
descOrder (a: any, b: any) {
	if (a.key < b.key) return b.key;
}
Posted by: Guest on August-03-2020

Code answers related to "ionic maintain order of object properties"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language