开发者

Flex Method on Leave TextInput

Does anyone know of an event that can be called after a user clicks out of a TextInput?

I would like the user to enter information, and when they finish I开发者_开发百科 would like to format the information.

Thanks in advance for any advice!


That's valueCommit event you're looking for. It fires when user changed text and set focus to something else.


You should use the onBlur event which occurs on an element when it loses focus, i.e when a user clicks outside that specific element

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜