{"id":19318094,"url":"https://github.com/tonylu110/uyou-window","last_synced_at":"2026-06-22T06:32:04.387Z","repository":{"id":118829799,"uuid":"583873148","full_name":"tonylu110/uyou-window","owner":"tonylu110","description":"This is a window webcomponent","archived":false,"fork":false,"pushed_at":"2023-02-17T10:53:10.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T01:40:02.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tonylu110.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-12-31T08:56:14.000Z","updated_at":"2023-06-08T08:34:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"c39b37c8-568f-424b-998c-270a2c3de849","html_url":"https://github.com/tonylu110/uyou-window","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tonylu110/uyou-window","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonylu110%2Fuyou-window","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonylu110%2Fuyou-window/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonylu110%2Fuyou-window/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonylu110%2Fuyou-window/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonylu110","download_url":"https://codeload.github.com/tonylu110/uyou-window/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonylu110%2Fuyou-window/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34637937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10T01:17:18.851Z","updated_at":"2026-06-22T06:32:04.359Z","avatar_url":"https://github.com/tonylu110.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uyou-window\nThis is a window webcomponent\n\n[review in CodeSandbox](https://codesandbox.io/p/github/tonylu110/uyou-window/main)\n\nIf you want to use this component, you need build main.ts to `javascript` file, and add this to `\u003cscript\u003e\u003c/script\u003e`, you can use this like\n```html\n\u003cscript src=\"./main.js\"\u003e\u003c/script\u003e\n\u003cuyou-window\u003e\u003c/uyou-window\u003e\n```\nAfter you can change window style like\n```html\n\u003cuyou-window \n        title=\"title\"\n        tb-color=\"red\"\n        tt-color=\"white\"\n        width=\"400\"\n        height=\"300\"\n        y=\"200\"\n        x=\"200\"\n        body-color=\"red\"\n        tb-shadow=\"true\"\n        win-radius=\"20\"\n\u003eyou can add some nodes in this and show\u003c/uyou-window\u003e\n```\nIt's like\n\n![](https://mp-0956b3c3-b4ed-405b-812d-b6b32dfbc322.cdn.bspapp.com/cloudstorage/deb0eaaf-fe11-429c-8a01-ff17188ff5ea.png)\n\nThese props means\n```\ntitle // title bar text // default: title\ntb-color // title bar color // default: bule\ntt-color // title bar text color // default: white\nwidth // window width // default: 400\nheight // window height // default: 300\ny // window position on the y // default: 0 if have pos cannot use\nx // window position on the x // default: o if have pos cannot use\nbody-color // body color // default: white\ntb-shadow // title bar shadow show or hide // default: false\nwin-radius // window round radius // default: 10\npos // set window position // default: default set the prop do not use x or y\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonylu110%2Fuyou-window","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonylu110%2Fuyou-window","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonylu110%2Fuyou-window/lists"}