Angular Filter Transformation from angular Js to Angular ( Js to TypeScript)
$scope.sel_view = $filter('filter')($scope.list, function(value) { return value.viewSeq == seq;})[0]; this.sel_view = this.viewList.filter((view: any) =>{ return view.viewSeq == seq ;})[0];
No comments:
Post a Comment