Page 1 of 1

Creating sort ionic list

Posted: Mon Nov 23, 2015 10:06 am
by GregMc

I have a list in my Ionic app and I would like the items in the list to be sortable by drag and drop. I am trying to follow the example here: http://learn.ionicframework.com/formu.... In this example it shows that you must create a child of the list item that is a "". This item is not on the palette and I see no property to set a normal button to this type. I tried to place an html item in the list item in the builder but it will not allow me. How can I create this child of a list item?


Creating sort ionic list

Posted: Mon Nov 23, 2015 11:13 pm
by GregMc

Sorry looks like part of my post got stripped out. The example I am following says that you must create a "ion-reorder-button" as a child of the list item in order to make the list sortable. As mentioned in the original post I do not know how to insert this item as a child of the list item, it is not present on the palette and the builder seems to not allow dragging an html element in to a list item. Please let me know how I can achieve this since I'm definitely stuck at the moment.


Creating sort ionic list

Posted: Wed Nov 25, 2015 9:10 am
by Serhii Kulibaba

Hello,

Please use HTML component for the custom functionality.