Quantcast
Channel: Cocos中文社区 - 最新帖子
Viewing all articles
Browse latest Browse all 495283

怎么监听EditBox输入的最后一个字符

$
0
0

你监听 textChange 事件,如果新传入的字符串比之前的字符串少一个字符,那么就表示这一次的输入是退格键。


Viewing all articles
Browse latest Browse all 495283

Trending Articles