有关如何在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)
答案 0 :(得分:0)
添加KeyUpHandler时,此方法返回HandlerRegistration对象。当您不再需要此处理程序时,请调用:
myHandlerRegistration.removeHandler();