Reputation: 46373
In electron quick start demo, I added this in index.html :
<script>
query = window.prompt("What are you looking for?", "");
</script>
But it doesn't work when doing npm start
. Why doesn't window.prompt
work?
Upvotes: 2
Views: 3051
Reputation: 14847
Electron doesn't provide an implementation for window.prompt()
, you can read more about it in issue #472.
Upvotes: 2