Class
TextField
输入框组件,非容器。继承自 -> Label
方法
| ID | API | 参数 | 返回值 | 平台 | 备注 |
|---|---|---|---|---|---|
| 1 | hint | v: String/StyledString/Unicode | v | - | 提示 |
| 2 | placeholder | v: String/StyledString/Unicode | v | - | 提示 |
Class
输入框组件,非容器。继承自 -> Label
| ID | API | 参数 | 返回值 | 平台 | 备注 |
|---|---|---|---|---|---|
| 1 | hint | v: String/StyledString/Unicode | v | - | 提示 |
| 2 | placeholder | v: String/StyledString/Unicode | v | - | 提示 |