|
type
|
button | checkbox | radio | text | email | date | time | number | password | tel
1050+
|
text
|
否
|
支持动态修改
1030+
|
|
checked
|
<boolean>
|
false
|
否
|
当前组件的 checked 状态,可触发 checked 伪类,type 为 checkbox 时生效
|
|
name
|
<string>
|
-
|
否
|
input 组件名称
|
|
value
|
<string>
|
-
|
否
|
input 组件的值
|
|
placeholder
|
<string>
|
-
|
否
|
提示文本的内容,type 为 text|email|date|time 时生效
|
maxlength
1010+
|
<number>
|
-
|
否
|
组件可接收用户输入字符的最大长度
|
enterkeytype
1010+
|
default | send | search | next | go | done |
|
default
|
否
|
设置软键盘 Enter 按钮的显示文本或图标.
|
autocomplete
1050+
|
on | off
|
on
|
否
|
是否开启自动提示功能,当 type 为 tel 时生效
|