mirror of
https://github.com/element-plus/element-plus.git
synced 2025-04-06 16:30:35 +08:00
docs: makeup built-in zoom-in-left transition (#18987)
This commit is contained in:
parent
9bf729fbeb
commit
512d31cb79
@ -18,7 +18,7 @@ transitions/fade
|
||||
|
||||
## Zoom
|
||||
|
||||
:::demo `el-zoom-in-center`, `el-zoom-in-top` and `el-zoom-in-bottom` are provided.
|
||||
:::demo `el-zoom-in-left`, `el-zoom-in-center`, `el-zoom-in-top` and `el-zoom-in-bottom` are provided.
|
||||
|
||||
transitions/zoom
|
||||
|
||||
|
@ -3,6 +3,10 @@
|
||||
<el-button @click="show = !show">Click Me</el-button>
|
||||
|
||||
<div style="display: flex; margin-top: 20px; height: 100px">
|
||||
<transition name="el-zoom-in-left">
|
||||
<div v-show="show" class="transition-box">.el-zoom-in-left</div>
|
||||
</transition>
|
||||
|
||||
<transition name="el-zoom-in-center">
|
||||
<div v-show="show" class="transition-box">.el-zoom-in-center</div>
|
||||
</transition>
|
||||
|
Loading…
x
Reference in New Issue
Block a user