EditBox.InputFlag Enum

Module: cc.primitive Parent Module: cc

Enum for the EditBox's input flags

Index

  • PASSWORD
  • SENSITIVE
  • INITIAL_CAPS_WORD
  • INITIAL_CAPS_SENTENCE
  • INITIAL_CAPS_ALL_CHARACTERS
  • DEFAULT

Details

PASSWORD

Indicates that the text entered is confidential data that should be obscured whenever possible. This implies EDIT_BOX_INPUT_FLAG_SENSITIVE.

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

Indicates that the text entered is sensitive data that the implementation must never store into a dictionary or table for use in predictive, auto-completing, or other accelerated input schemes. A credit card number is an example of sensitive data.

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

This flag is a hint to the implementation that during text editing, the initial letter of each word should be capitalized.

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

This flag is a hint to the implementation that during text editing, the initial letter of each sentence should be capitalized.

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

Capitalize all characters automatically.

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

Don't do anything with the input text.

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

results matching ""

    No results matching ""