web-view
web-view copied to clipboard
Dragging window on a frameless webview?
I implemented a custom title bar in my webview app but I am confused as to how I can enable the drag functionality for the user. I had thoughts of adding an invisible handle at the top that could allow the user to drag, but I dont see any methods that can allow me to move the window manually.
Fixed for edge only, with #201
Can use the master branch of my fork to get it running, https://github.com/Blakeinstein/web-view/
use
webview.drag_intent() // for window drag (use mousedown event listener
webview.set_minimized() // for minimizing window
webview.set_maximized() // for maximizing window
I have this implemented for IE on my fork https://github.com/RainwayApp/web-view/commit/07653fc229c0ff8b4256636cc560ecbfc9d86b36