src/sap.ui.commons/src/sap/ui/commons/MenuButton.js
function(oEvent){
		var oItem = oEvent.getParameter("item");
		this.fireItemSelected({itemId: oItem.getId(), item: oItem});
		this.firePress({itemId: oItem.getId(), item: oItem});
	}
function(oEvent){
		var oItem = oEvent.getParameter("item");
		this.fireItemSelected({itemId: oItem.getId(), item: oItem});
		this.firePress({itemId: oItem.getId(), item: oItem});
	}
function ( oEvent ) { var oItem = oEvent . getParameter ( "item" ) ; this . fireItemSelected ( { itemId : oItem . getId ( ) , item : oItem } ) ; this . firePress ( { itemId : oItem . getId ( ) , item : oItem } ) ; }
Function is called when an item in the menu was selected.
Function is called when an item in the menu was selected .