{"id":19241664,"url":"https://github.com/qwqcode/cefsharpdraggableregion","last_synced_at":"2025-04-21T09:32:28.124Z","repository":{"id":106438666,"uuid":"163571290","full_name":"qwqcode/CefSharpDraggableRegion","owner":"qwqcode","description":"Specify `-webkit-app-region: drag` in CSS to define which regions are draggable, functioning similarly to the OS's standard titlebar in CefSharp.","archived":false,"fork":false,"pushed_at":"2018-12-30T08:34:26.000Z","size":15,"stargazers_count":21,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T12:03:56.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://qwqaq.com/57a3ffd3.html","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qwqcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-30T07:54:44.000Z","updated_at":"2024-12-23T07:24:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"0cbd3b94-38fa-439f-ab3e-70c787d3bc23","html_url":"https://github.com/qwqcode/CefSharpDraggableRegion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwqcode%2FCefSharpDraggableRegion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwqcode%2FCefSharpDraggableRegion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwqcode%2FCefSharpDraggableRegion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwqcode%2FCefSharpDraggableRegion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qwqcode","download_url":"https://codeload.github.com/qwqcode/CefSharpDraggableRegion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250032146,"owners_count":21363780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T17:12:10.468Z","updated_at":"2025-04-21T09:32:28.076Z","avatar_url":"https://github.com/qwqcode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CefSharpDraggableRegion\n\n![](https://user-images.githubusercontent.com/22412567/50545365-921e0700-0c4c-11e9-9403-132b70b1da44.gif)\n\nYou can specify `-webkit-app-region: drag` in CSS to tell **CefSharp** which regions are draggable (like the OS's standard titlebar), and apps can also use `-webkit-app-region: no-drag` to exclude the non-draggable area from the draggable region. Note that only rectangular shapes are currently supported.\n\nTo make the whole window draggable, you can add `-webkit-app-region: drag` as `body`'s style:\n\n```html\n\u003cbody style=\"-webkit-app-region: drag\"\u003e\n\u003c/body\u003e\n```\n\nAnd note that if you have made the whole window draggable, you must also mark buttons as non-draggable, otherwise it would be impossible for users to click on them:\n\n```css\nbutton {\n  -webkit-app-region: no-drag;\n}\n```\n\nIf you're only setting a custom titlebar as draggable, you also need to make all buttons in titlebar non-draggable.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwqcode%2Fcefsharpdraggableregion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqwqcode%2Fcefsharpdraggableregion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwqcode%2Fcefsharpdraggableregion/lists"}