控件:TextArea 多行文本框

一共有 6 种属性:控件类型 type、控件 ID id、编辑框提示文本 prompt、编辑框默认内容 text、字体大小 size、键盘类型 kbtype

参数 类型 必填 说明 默认值
type string 控件类型:TextArea -
id string 为控件指定 ID,可以理解为控件的名称,
不写此参数将无法保存到配置文件中及无法获取返回值
-
prompt string 提示文字,编辑框中无任何内容时显示的底色文本 -
text string 默认文字,界面载入时已经存在于编辑框中的文本 -
size number 字号,如果不指定该属性,则默认值为 15 15
kbtype string 键盘类型,设置获取焦点时弹出的键盘类型,
默认为 number,number ascii
"number"
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""