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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -