Electron menu – call simple function in index.html


#1

Hey Guys,

sorry for the newbish question. I have a function that I am calling inside of my index.html like this:

ng-click="removeSelected()"

How can I call this function from the electron main menu (edit > delete) and how can I assign delete and backspace keys for doing this?

Thanks!