How to change listview icon in JS?
Hi,
I am tring to change the icon of list item in JS.
I tried Appery('listitemname').attr('data-icon','gear');
But it does not work.
Anyone know this?Thank you.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi,
I am tring to change the icon of list item in JS.
I tried Appery('listitemname').attr('data-icon','gear');
But it does not work.
Anyone know this?Thank you.
Hello!
Please take a look here https://getsatisfaction.com/apperyio/...
Hello Maryna,
I tried that ,but it seems not work.
Hi,
Try this custom CSS code please: pre.myclass:after{
/* any styles for listview icon */
}/preThen add this class for the listitem to which you want to add this background :preAppery("listitemName").addClass("myclass");/pre