(vue) Treeview default arrow icon dynamic color change

Hello,

I am trying to dynamically change the default (arrow) icon. (–f7-treeview-toggle-color) Is there a way to do this?

Regards,

Peter

Only by modifying styles, it is not the icon actually:

Thanks for your reply, I found this one indeed… by changing this all the little arrows will change color :frowning:
There is no way to change the style of an ::after item with Javascript :frowning:

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