javascript - How to show list dom revered in vue js? -


i want show vue js list in v-for reversed on dom. object should not change. created reversed list v-for. html default list top bottom, want append items bottom top in dom. can see telegram web messages list ng-repeat.

is there way v-for? or option?

thanks.

add page controller

$scope.setorderproperty = function(propertyname) { if ($scope.orderproperty === propertyname) {     $scope.orderproperty = '-' + propertyname; } else if ($scope.orderproperty === '-' + propertyname) {     $scope.orderproperty = propertyname; } else {     $scope.orderproperty = propertyname; } 

}

and

 $scope.sorttype     = 'x.userid'; $scope.sortreverse  = false; $scope.searchfish   = '';   

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -