Skip to content

Commit

Permalink
docs(Transitions): add v-fab-transition
Browse files Browse the repository at this point in the history
resolves #6987
  • Loading branch information
MajesticPotatoe committed Mar 24, 2020
1 parent 905fc45 commit 8c93f62
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/docs/src/data/pages/styles/Transitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
{
"type": "api",
"value": [
"v-fab-transition",
"v-fade-transition",
"v-expand-transition",
"v-scale-transition",
Expand All @@ -47,6 +48,7 @@
"scroll-x-transitions",
"scroll-y-transitions",
"scale-transition",
"fab-transition",
"fade-transition",
"expand-transition",
"custom-origin",
Expand Down
20 changes: 20 additions & 0 deletions packages/docs/src/examples/transitions/fab-transition.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<div class="text-center">
<v-menu transition="fab-transition">
<template v-slot:activator="{ on }">
<v-btn
dark
color="primary"
v-on="on"
>
Fab Transition
</v-btn>
</template>
<v-list>
<v-list-item v-for="n in 5" :key="n" @click="">
<v-list-item-title v-text="'Item ' + n"></v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
</div>
</template>
4 changes: 4 additions & 0 deletions packages/docs/src/lang/en/styles/Transitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"heading": "### Scale transition",
"desc": "Many of Vuetify's components contain a <code>transition</code> prop which allows you to specify your own."
},
"fab-transition": {
"heading": "### Fab transition",
"desc": "An example of the fab transition can be found in the the `v-speed-dial` component."
},
"fade-transition": {
"heading": "### Fade transition",
"desc": "Another example of the fade transition can be found on the Carousel component."
Expand Down

0 comments on commit 8c93f62

Please sign in to comment.