Hello,
I am trying to dynamically change the default (arrow) icon. (–f7-treeview-toggle-color) Is there a way to do this?
Regards,
Peter
Hello,
I am trying to dynamically change the default (arrow) icon. (–f7-treeview-toggle-color) Is there a way to do this?
Regards,
Peter
Thanks for your reply, I found this one indeed… by changing this all the little arrows will change color
There is no way to change the style of an ::after item with Javascript
If you just need to change a color you can just set appropriate CSS variables on parent element https://framework7.io/docs/treeview.html#css-variables
Cool! This: <f7-treeview :style="{'--f7-treeview-toggle-color': line.color}">
did the trick!
Thanks for your help!
Regards,
Peter