javascript - how to add icons in row which is generated dynamically in ionic -


i trying make simple demo in ionic .i have 1 footer having 1 icon ion-compose(bottom left icon).when click on icon show pop screen enter name in text field , press save button .then generate row have same text written in textfield of popup screen.i need add icon buttons on row (like delete button , edit button).can add icon on dynamically generated row did in footer (bottom left ion-composer). please add ion on row

here code

http://codepen.io/anon/pen/qdeepw

   <ion-item ng-repeat="item in items">                 {{item.testcase}}                 <ion-reorder-button class="ion-navicon"></ion-reorder-button>              </ion-item> 

please press bottom button on left side of footer .when click show pop snd fill entry generate row.i need add icons on row

you have able modify framework take new key/value items object , pass class gives div.

res.class="icon-class"; $scope.items.push(res) 

i modified codepen show can pass items object class key/value http://codepen.io/anon/pen/xbjjzo


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -