Home > other >  How to create a window popup using nextjs
How to create a window popup using nextjs

Time:03-23

Is there a way to create a popup like this image below. enter image description here

CodePudding user response:

using vue.js you can create a simple window like modal somewhat similar to what you have, in the image above, here's a link with an example , https://vuejsexamples.com/windows-like-modal-component-for-vue-js/ also you can see sample code on github http://github.com/ropbla9/vue-window-modal

CodePudding user response:

You can use window.open. The position and size are given in the optional window features argument

If you would like to use state from the parent window in the child window, you can use react-new-window.

  • Related