Hey guys! Hope you’re all doing well.
How can I set the icon dynamically? The static variant looks like this:
<f7-icon f7="house_fill" />
The dynamic variant !?
<f7-list-item v-for="menu in menus"
...
<f7-icon f7="menu.icon" />
TIA
Hey guys! Hope you’re all doing well.
How can I set the icon dynamically? The static variant looks like this:
<f7-icon f7="house_fill" />
The dynamic variant !?
<f7-list-item v-for="menu in menus"
...
<f7-icon f7="menu.icon" />
TIA
… you can do something like
<f7-icon :f7="getIcon(menu)" />
Please How to dynamically make counter on app Icon?