Last Update: 9/26/2016

Defined in vss.d.ts

Interface for a registered object that contributes menu item(s)


  • getMenuItems: (context: any): IContributedMenuItem[] or IPromise<IContributedMenuItem[]>. Get an array of menu items for the given context

  • execute: (actionContext: any): any. Handle a menu item from this menu source being clicked. This is only invoked when the contributed menu item does not have an "action" method.