对如何在com.google.gwt.user.client.ui.SuggestBox中禁用KeyUpHandler有什么想法吗?
(https://github.com/gwtproject/gwt/blob/master/user/src/com/google/gwt/user/client/ui/SuggestBox.java)
发布于 2014-04-26 00:11:11
添加KeyUpHandler时,此方法返回一个HandlerRegistration对象。当您不再需要此处理程序时,可以调用:
myHandlerRegistration.removeHandler();https://stackoverflow.com/questions/23298060
复制相似问题