EditBox.InputMode Enum

Module: cc

The EditBox's InputMode defines the type of text that the user is allowed to enter.

Index

  • ANY
  • EMAIL_ADDR
  • NUMERIC
  • PHONE_NUMBER
  • URL
  • DECIMAL
  • SINGLE_LINE

Details

ANY

TODO

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCEditBox.js:70
EMAIL_ADDR

The user is allowed to enter an e-mail address.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCEditBox.js:75
NUMERIC

The user is allowed to enter an integer value.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCEditBox.js:80
PHONE_NUMBER

The user is allowed to enter a phone number.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCEditBox.js:85
URL

The user is allowed to enter a URL.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCEditBox.js:90
DECIMAL

The user is allowed to enter a real number value. This extends kEditBoxInputModeNumeric by allowing a decimal point.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCEditBox.js:95
SINGLE_LINE

The user is allowed to enter any text, except for line breaks.

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCEditBox.js:103

results matching ""

    No results matching ""