How to quit in web page?


I want to quit my App by button element of web page.
how can i use electron object in web javascript?

  electron = require('electron')

I solved my problem. but i think that My code is not good.
if you get a good idea. please give ma a tip