I am stuck on a very simple issue.
I have a menu on electron and on the docs
it says that it emits a menu-will-show event.
sizeMenu.on(‘menu-will-show’, (event) => {
console.log(‘harhar’);
});
this is my code and its not catching anything. sizeMenu is and instance of the menu class. I was wondering if anyone here knew anything about it.