Cocos Creator API

1.0.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Enum EditBox.InputMode

Module: cc

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

ANY Number

TODO

EMAIL_ADDR Number

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

NUMERIC Number

The user is allowed to enter an integer value.

PHONE_NUMBER Number

The user is allowed to enter a phone number.

URL Number

The user is allowed to enter a URL.

DECIMAL Number

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

SINGLE_LINE Number

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

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index