Skip to content

How to add a tooltip text to a button? #227

Answered by jourdain
bigfooted asked this question in Q&A
Discussion options

You must be logged in to vote
with vuetify.VTooltip(text="Tooltip") as elem_to_test:
    with vuetify.Template(v_slot_activator="{ props }"):
        vuetify.VCheckbox(
          v_bind="props"
          v_model=("list_change", True),
          on_icon="mdi-account-check",
          off_icon="mdi-account-check-outline",
          classes="mx-1",
          hide_details=True,
          dense=True,
          click=reset_resolution,
      )
   print(elem_to_test.html) # <--- That way you can see if it match what the vuetify doc is telling you

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@bigfooted
Comment options

@jourdain
Comment options

@jourdain
Comment options

@bigfooted
Comment options

@bigfooted
Comment options

Answer selected by bigfooted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants