4

So today I did the weirdest use of REST API I have ever seen. Was working on a little electron app for a friend using angular as frontend. I didn't want to use the standard title bar so created one for me in angular. But to hookup the close button with actual termination would have required more effort than my lazy ass was going to put. So I just created extra route to use browserwindow.close() function. And it actually worked good.

Comments
Add Comment