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/CCEditBox.js:71
EMAIL_ADDR

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

meta description
Type Number
Defined in cocos2d/core/components/CCEditBox.js:76
NUMERIC

The user is allowed to enter an integer value.

meta description
Type Number
Defined in cocos2d/core/components/CCEditBox.js:81
PHONE_NUMBER

The user is allowed to enter a phone number.

meta description
Type Number
Defined in cocos2d/core/components/CCEditBox.js:86
URL

The user is allowed to enter a URL.

meta description
Type Number
Defined in cocos2d/core/components/CCEditBox.js:91
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/CCEditBox.js:96
SINGLE_LINE

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

meta description
Type Number
Defined in cocos2d/core/components/CCEditBox.js:104

results matching ""

    No results matching ""