javascript - how to display image horizontal and vertical dynamic -


i wanna display images in imagelist.

i wanna see

  • ab
  • cd

how can that? not or odd

maybe list can below abcde fg

i wanna new row or display:block when count==2 .list can (1,1,1,1,2,1 ) first row 4 elements second row 2 element.list can (1,1,1,2,1,2,1) first row 3 elements second row 2 elements third row 2 element

link here *****jsfiddle.net/jpkwhfv3/ *****

how :

  <div ng-repeat="key in items">     <div class="row" ng-if="$even">       <div>{{items[$index]}}</div>       <div>{{items[$index + 1]}}</div>     </div>   </div> 

with

$scope.items= object.keys(m); 

http://jsfiddle.net/0momap0n/302/


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -