Files
element-plus/docs/examples/time-select/time-range.vue
知晓同丶 3b8a590baf docs: improve examples layout for narrow screens (#21489)
* docs: improve examples layout for narrow screens

* docs: style related

* style: [statistic] use utilities

* style: [input] remove deep

* style: [transitions] change style

* refactor: [date-picker-panel] narrow refactor
2025-08-21 10:22:05 +02:00

30 lines
584 B
Vue

<template>
<div class="demo-time-range flex flex-wrap gap-4">
<el-time-select
v-model="startTime"
style="width: 240px"
:max-time="endTime"
placeholder="Start time"
start="08:30"
step="00:15"
end="18:30"
/>
<el-time-select
v-model="endTime"
style="width: 240px"
:min-time="startTime"
placeholder="End time"
start="08:30"
step="00:15"
end="18:30"
/>
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const startTime = ref('')
const endTime = ref('')
</script>