# HTInput 输入框

# v-model 基本用法

# clearable 是否可清空

# disabled 禁用

# id

# noBorder 无边框

# showPassword 是否展示密码图标

默认不展示

# suffixIcon 后缀图标

# type 类型

支持texttextareapasswordnumbertelsearch,默认为text

# API

属性 描述 类型 默认值
v-model 绑定值 String -
clearable 是否可清空 Boolean false
disabled 禁用 Boolean false
id 自定义id String -
noBorder 无边框 Boolean false
showPassword 是否展示密码 Boolean false
suffixIcon 后缀图标 String -
blur 失去焦点时触发 Function -
focus 获得焦点时触发 Function -
search 搜索时触发 Function -
change 输入框内容发生变化时触发 Function -
clear 点击清除按钮时触发 Function -

更多API请参考 Element-UI Input (opens new window)