I'm using the Menu widget but I guess this would apply to any of the Vue wrappers.
As per the docs, to access the clicked menu item it appears that $ is needed but I just get errors because $ is undefined. So my question is - do I need to manually include JQuery in order to access the item and/or is there no better way to do this?
onSelect:
function
(e) {
var
currentItemText = $(e.item.firstChild).text().trim();
console.log(currentItemText +
" clicked."
);
}