跳到主要内容

egret.TextFieldType

包    egret

类    public class TextFieldType

TextFieldType 类是在设置 TextField 类的 type 属性时使用的常数值的枚举。

公共属性​

属性
DYNAMIC : string
[静态]用于指定动态文本
INPUT : string
[静态]用于指定输入文本

属性详细信息​

DYNAMIC​

DYNAMIC : string = "dynamic"

  • 支持版本:Egret 2.4
  • 运行平台:Web,Native

用于指定动态文本

INPUT​

INPUT : string = "input"

  • 支持版本:Egret 2.4
  • 运行平台:Web,Native

用于指定输入文本