Skip to content

Window drag area #4710

Answered by ndonkoHenri
SKD8 asked this question in Q&A
Jan 13, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

To listen to window events, you can use Page.window.on_event and when the right type is triggered (ex: "MOVED"), you can get the window's new position using page.window.top and page.window.left and can also set it to your 'default' position.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SKD8
Comment options

Answer selected by SKD8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4709 on January 13, 2025 13:57.