EditBox.InputMode Enum

Module: cc Parent 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 cocos2d/core/components/editbox/types.js:80
EMAIL_ADDR

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

meta description
Type Number
Defined in cocos2d/core/components/editbox/types.js:86
NUMERIC

The user is allowed to enter an integer value.

meta description
Type Number
Defined in cocos2d/core/components/editbox/types.js:92
PHONE_NUMBER

The user is allowed to enter a phone number.

meta description
Type Number
Defined in cocos2d/core/components/editbox/types.js:98
URL

The user is allowed to enter a URL.

meta description
Type Number
Defined in cocos2d/core/components/editbox/types.js:104
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 cocos2d/core/components/editbox/types.js:110
SINGLE_LINE

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

meta description
Type Number
Defined in cocos2d/core/components/editbox/types.js:119

results matching ""

    No results matching ""