You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How should I use the v-ifv-else parameter to make it display only the folder ?
Also how can I use the props.item.file value to search in a dictionnary of icons ?
The text was updated successfully, but these errors were encountered:
This is missing from the documentation, but you can't use the variable in python code. It basically only works for passing event handlers to v_on= like this example:
v.Tooltip(bottom=True, v_slots=[{
'name': 'activator',
'variable': 'tooltip',
'children': v.Btn(v_on='tooltip.on', color='primary', children=[
'button with tooltip'
]),
}], children=['Insert tooltip text here'])
I try to reproduce the following exaple from the vuetify documentation: https://v2.vuetifyjs.com/en/components/treeview/#slots.
It's a treeview where all the arrows are replaced with the appropriate icon. If I look at the Template version of the example it looks like this:
I tried to translate it into a Python object:
But I got the following display:
How should I use the
v-if
v-else
parameter to make it display only the folder ?Also how can I use the
props.item.file
value to search in a dictionnary of icons ?The text was updated successfully, but these errors were encountered: