title: PrimeNG MenuCallback
body: <p>I'm using p-panelmenu from the excellent prime-ng library.</p>
  
  <pre><code>&lt;p-panelMenu [model]="items" (click)="onClicked(event)"&gt;&lt;/p-panelMenu&gt;
  </code></pre>
  
  <p>Trouble is I can't work out how to get the menu to do anything.  The examples on the primeNG website all display menus but don't trigger any actions on them.</p>
  
  <p>How can I get the currently selected item?  I note that there is a "command" callback on the menuItem class; but it seems crazy to define a callback for every menu item.  Rather than just one callback that gets passed the selected menu item.  What am I missing here?</p>