Input
输入框
导入
import { Input } from '@ray-js/ray';
属性说明
属性 | 类型 | 默认值 | 说明 | 支持平台 |
---|---|---|---|---|
className | string | 样式名 | 涂鸦、微信 | |
value | string | 内容 | 涂鸦、微信 | |
type | string | text | 类型 text/number/idcard/digit | 涂鸦、微信 |
password | boolean | false | 是否为密码 | 涂鸦、微信 |
placeholder | string | 占位内容 | 涂鸦、微信 | |
placeholderStyle | object | placeholder 样式 | 涂鸦、微信 | |
disabled | boolean | false | 是否禁用 | 涂鸦、微信 |
maxLength |