Skip to content

VerifyBox-DEMO


Propoties


属性(attr)类型(type)必填(required)默认值(default)说明(statement)
valueStringNoUsing v-model binding input value
lengthNumberNoN/A验证码长度
inputmodeStringNonumeric输入模式, 可选值为numeric, tel, text, decimal, email, url
underlineBooleanNofalse是否开启Underline风格的VerifyBox
background[string(color)]NoN/A
borderWidthBooleanNoN/A
borderColor[string(color)]NoN/A
focusBorderColor[string(color)]NoN/A
fontSizeNumberNo18
fontWeight[string,number]Nobold
foreground[string(color)]NoN/A
borderRadiusNumberNo3VerifyBox圆角大小, 启用revealBorder时将失效
isBoxShadowBooleanNofalse开启VerifyBox阴影
revealBorderBooleanNofalse
disabledBooleanNofalse
themeStringNosystem主题样式, 包含light, dark, system, custom几种样式

Events


事件名(Name)参数类型(args)说明(statement)
confirmstring完成输入并返回结果

MIT Licensed