You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< docs >
-- -
order : 8
title :
zh - CN : 三种大小
en - US : Three Sizes
-- -
# # zh - CN
三种大小的输入框 , 若不设置 , 则为 ` default ` 。
# # en - US
The input box comes in three sizes . ` default ` will be used if ` size ` is omitted .
< / docs >
< template >
< a -space direction = "vertical" :size ="12" >
< a -radio -group v -model :value ="size" >
< a -radio -button value = "large" > Large < / a - r a d i o - b u t t o n >
< a -radio -button value = "default" > Default < / a - r a d i o - b u t t o n >
< a -radio -button value = "small" > Small < / a - r a d i o - b u t t o n >
< / a - r a d i o - g r o u p >
< a -date -picker :size ="size" / >
< a -date -picker :size ="size" placeholder = "Select Month" picker = "month" / >
< a -range -picker :size ="size" / >
< a -date -picker :size ="size" placeholder = "Select Week" picker = "week" / >
< / a - s p a c e >
< / template >
< script lang = "ts" setup >
import { ref } from 'vue' ;
const size = ref < any > ( 'default' ) ;
< / script >