Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

order by ascending descending in angular 6 on click of button

<button (click)="sortData()">Sort Data</button>
<div *ngFor="let item of items">
{{items.attributes.fullName}}
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #order #ascending #descending #angular #click #button
ADD COMMENT
Topic
Name
9+3 =