将路由事件标记为“已处理”和“类处理”。
一个方案是获取事件的参数并将该事件标记为已处理。
One scenario is to take the arguments of the event and mark the event as handled.
您可以实现具有将事件标记为已处理的行为的类处理程序。
You can implement a class handler that has the behavior of marking the event as handled.
And last year to did we hand students Google maps, Google news, asked them to mash those two very familiar real world products together so that they had a map of the United States, little markers sprinkled throughout, that indicated exactly where there were current events going on.
去年我们给学生提供了谷歌地图和谷歌新闻,要求他们把这两个熟悉的实时世界,产品结合到一起,这样他们就有了一个美国地图,上面到处都是一些小图标,它们能够精确地标记出,当前事件发生的地方。
应用推荐