Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Ripples): examples refactor (#6255)
* docs(Ripples): examples refactor * typo
- Loading branch information
1 parent
7429324
commit a0d8051
Showing
17 changed files
with
64 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<template> | ||
<div | ||
v-ripple="{ center: true }" | ||
class="text-xs-center elevation-2 pa-5 headline" | ||
> | ||
HTML element with centered ripple | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<template> | ||
<div class="text-xs-center"> | ||
<v-btn :ripple="{ class: 'error--text' }" dark>Colored Ripple</v-btn> | ||
</div> | ||
<v-list> | ||
<v-list-tile | ||
v-ripple="{ class: `${color}--text` }" | ||
v-for="color in ['primary', 'secondary', 'info', 'success', 'warning', 'error']" | ||
:key="color" | ||
> | ||
<v-list-tile-title>Item with "{{ color }}" class</v-list-tile-title> | ||
</v-list-tile> | ||
</v-list> | ||
</template> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<v-layout | ||
row | ||
justify-space-around | ||
py-5 | ||
wrap | ||
> | ||
<v-btn | ||
color="primary" | ||
> | ||
With ripple (default) | ||
</v-btn> | ||
<v-btn | ||
:ripple="false" | ||
color="primary" | ||
> | ||
Without ripple | ||
</v-btn> | ||
<v-btn | ||
:ripple="{ center: true }" | ||
color="primary" | ||
> | ||
With centered ripple | ||
</v-btn> | ||
<v-btn | ||
:ripple="{ class: 'red--text' }" | ||
flat | ||
> | ||
With red ripple | ||
</v-btn> | ||
</v-layout> | ||
</template> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<template> | ||
<div class="text-xs-center"> | ||
<v-btn color="primary" dark ripple>Default Ripple</v-btn> | ||
<v-btn :ripple="false" color="primary" dark>Ripple Disabled</v-btn> | ||
<div | ||
v-ripple | ||
class="text-xs-center elevation-2 pa-5 headline" | ||
> | ||
HTML element with v-ripple | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,8 @@ | ||
{ | ||
"headerText": "`v-ripple`ใใฃใฌใฏใใฃใใฏใฆใผใถใใใฎใขใฏใทใงใณใ่กจ็คบใใ้ใซๅฉ็จใใพใใใฉใฎใใญใใฏใฌใใซใฎ่ฆ็ด ใซๅฏพใใฆใ่จญๅฎใงใใพใใ`v-btn`ใ`v-tabs-item`ใชใฉๅคใใฎใณใณใใผใใณใใซrippleใใฃใฌใฏใใฃใใ็ตใฟ่พผใพใใฆใใพใใ", | ||
"examples": { | ||
"buttons": { | ||
"desc": "Buttonใฏใใใฉใซใใงrippleใๆๅนใซใชใฃใฆใใพใใ`:ripple=\"false\"`ใใญใใใฃใ่จญๅฎใใใใจใง็กๅนใซใงใใพใใ" | ||
}, | ||
"customColor": { | ||
"desc": "Helperใฏใฉในใๅฉ็จใใใฐๆณข็ดใฎ่ฒใๅคๆดใงใใพใใ" | ||
}, | ||
"tabs": { | ||
"desc": "Tabใฏใใใฉใซใใงใฏrippleใ็กๅนใงใใ`ripple`ใใญใใใฃใ่จญๅฎใใใใจใงๆๅนใซใชใใพใใ" | ||
}, | ||
"navigationDrawers": { | ||
"desc": "Listใฏใใใฉใซใใงใฏrippleใ็กๅนใงใใ`ripple`ใใญใใใฃใ่จญๅฎใใใใจใงๆๅนใซใชใใพใใ" | ||
}, | ||
"toolbars": { | ||
"desc": "Toolbarใฏใใใฉใซใใงใฏrippleใ็กๅนใงใใ`ripple`ใใญใใใฃใ่จญๅฎใใใใจใงๆๅนใซใชใใพใใ" | ||
}, | ||
"expansionPanels": { | ||
"desc": "Exapansion panelใฏใใใฉใซใใงใฏrippleใ็กๅนใงใใ`ripple`ใใญใใใฃใ่จญๅฎใใใใจใงๆๅนใซใชใใพใใ" | ||
}, | ||
"customRipple": { | ||
"desc": "ใใฎไปใฎใณใณใใผใใณใใงใrippleใๅฉ็จใงใใพใใ`ripple`ใใญใใใฃใ่จญๅฎใใใใจใงๆๅนใซใชใใพใใ" | ||
}, | ||
"htmlElement": { | ||
"desc": "้ๅธธใฎHTML่ฆ็ด ใซrippleใจใใงใฏใใ่ฟฝๅ ใใใซใฏใ`v-ripple`ใใฃใฌใฏใใฃใใ่จญๅฎใใพใใ" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.