webview_go icon indicating copy to clipboard operation
webview_go copied to clipboard

show or hide title bar. hide title bar,bind `StartDragging` function to Drag window.

Open clong1995 opened this issue 5 months ago • 0 comments

show or hide title bar

example: go: w.SetTitleBar(false)

hide title bar,bind StartDragging function to Drag window.

example:
go: _ = w.Bind("dragging", w.StartDragging)

html: <div id="my_title_bar" style="width:100%; height:30px; background:red;"> My Dragging Title Bar</div>

js: document.addEventListener("DOMContentLoaded", ()=>{ document.querySelector("#my_title_bar").addEventListener("mousemove", event => window.dragging()); });

clong1995 avatar Sep 09 '24 09:09 clong1995