在该菜单中还有其他很多有用的选项。
在该处理程序中,可以检索与该菜单项相关联的谓词并调用它。
In the handler, you retrieve the verb associated with the menu item and invoke it.
菜单项可以是不同的类型;在本例中,所有动作都是 URL 驱动的,因此每个菜单项都配置了一个 URL,该 URL 在选项被选中时调用。
Menu items can be of different types; in this example all the actions are URL driven, so each menu option is configured with the URL to be invoked when the option is selected.
应用推荐