mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
23 lines
284 B
Vue
23 lines
284 B
Vue
|
<template>
|
||
|
<div class="block">
|
||
|
<el-slider
|
||
|
v-model="value"
|
||
|
vertical
|
||
|
height="200px"
|
||
|
/>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { ref } from 'vue'
|
||
|
|
||
|
export default {
|
||
|
setup() {
|
||
|
const value = ref(0)
|
||
|
return {
|
||
|
value,
|
||
|
}
|
||
|
},
|
||
|
}
|
||
|
</script>
|