element-plus/packages/slider/doc/vertical-mode.vue

23 lines
284 B
Vue
Raw Normal View History

2020-09-01 19:06:14 +08:00
<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>