Skip to content

VerifyBox-DEMO


属性


属性类型必填默认值说明
modelValuestring''Using v-model binding input value
lengthnumber4验证码长度。
inputmodestring'numeric'输入模式,可选值为numericteltextdecimalemailurl
underlinebooleanfalse是否开启Underline风格的VerifyBox
backgroundstring''
borderWidthnumber1
borderColorstring''
focusBorderColorstring''
fontSizenumber18
fontWeightstring'bold'
foregroundstring''
borderRadiusnumber3VerifyBox圆角大小,启用revealBorder时将失效。
isBoxShadowbooleanfalse开启VerifyBox阴影。
revealBorderbooleanfalse
disabledbooleanfalse
themestring'global'主题样式。支持 globallightdarksystemcustom
langstring"global"参见组件的 lang 选项。

事件


事件名参数说明
confirmstring完成输入并返回结果。

MIT Licensed