Skip to content

Commit

Permalink
docs(examples): better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Sep 21, 2023
1 parent 7df9327 commit b69f286
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 1 addition & 8 deletions examples/validation/discussion/342_vuetify2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
<v-tooltip bottom>
<template v-slot:activator="{ on, attrs }">
<v-btn
color="primary"
dark
v-bind="attrs"
v-on="on"
>
Button
</v-btn>
<v-btn v-bind="attrs" v-on="on">Hover over me</v-btn>
</template>
<span>Tooltip</span>
</v-tooltip>
Expand Down
10 changes: 5 additions & 5 deletions examples/validation/discussion/342_vuetify3.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
r"""
https://vuetifyjs.com/en/components/tooltips/
<v-tooltip text="Tooltip">
<template v-slot:activator="{ props }">
<v-btn v-bind="props">Hover over me</v-btn>
</template>
</v-tooltip>
<v-tooltip text="Tooltip">
<template v-slot:activator="{ props }">
<v-btn v-bind="props">Hover over me</v-btn>
</template>
</v-tooltip>
"""

from trame.app import get_server
Expand Down

0 comments on commit b69f286

Please sign in to comment.