lostintangent / codeswing

VS Code extension for building web applications ("swings") using a interactive and editor-integrated coding environment
https://aka.ms/codeswing
MIT License
977 stars 45 forks source link

Support window.confirm/prompt #14

Closed lostintangent closed 9 months ago

lostintangent commented 3 years ago

The VS Code WebView disallows calling these APIs, and so we'll need to "monkey patch" them inside the swing preview and then virtualize them into VS Code toasts/input boxes.