跳到主要内容

egret.TextFieldInputType

包    egret

类    public class TextFieldInputType

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

公共属性​

属性
PASSWORD : string
[静态]password 类型
TEL : string
[静态]电话号码 input 类型

| TEXT : string


[静态]默认 input 类型 |

属性详细信息​

PASSWORD​

PASSWORD : string = "password"

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

password 类型

TEL​

TEL : string = "tel"

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

电话号码 input 类型

TEXT​

TEXT : string = "text"

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

默认 input 类型