0

I am trying to make simple demo in ionic .I have one footer having one icon ion-compose(bottom left icon).When i click on that icon it show a pop up screen I enter name in text field and press save button .then it generate a row which have same text as written in textfield of popup screen.I need to add icon buttons on row (like delete button , edit button).can we add icon on dynamically generated row as I did in footer (bottom left ion-composer). Please add ion on row

here is my 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 it show pop up snd fill entry it generate the row.I need to add icons on row

asked Apr 25, 2015 at 4:34

1 Answer 1

0

you will have to be able to modify their framework to take a new key/value from the items object and pass it to the class that it gives the div.

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

I modified your codepen to show you can pass the items object a class key/value http://codepen.io/anon/pen/XbJJzO

answered Apr 25, 2015 at 4:55
Sign up to request clarification or add additional context in comments.

1 Comment

please check this Question little bit more clear stackoverflow.com/questions/29861545/…

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.