{"id":16385799,"url":"https://github.com/aaaaash/js-component","last_synced_at":"2025-07-23T15:05:19.766Z","repository":{"id":100795485,"uuid":"61004349","full_name":"Aaaaash/js-Component","owner":"Aaaaash","description":"使用require实现自定义弹窗组件","archived":false,"fork":false,"pushed_at":"2016-07-11T05:14:05.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T03:50:55.866Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Aaaaash.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":"2016-06-13T03:28:48.000Z","updated_at":"2016-06-13T03:29:37.000Z","dependencies_parsed_at":"2023-06-10T00:57:18.126Z","dependency_job_id":null,"html_url":"https://github.com/Aaaaash/js-Component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aaaaash/js-Component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aaaaash%2Fjs-Component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aaaaash%2Fjs-Component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aaaaash%2Fjs-Component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aaaaash%2Fjs-Component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aaaaash","download_url":"https://codeload.github.com/Aaaaash/js-Component/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aaaaash%2Fjs-Component/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266699565,"owners_count":23970514,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-10-11T04:15:23.709Z","updated_at":"2025-07-23T15:05:19.743Z","avatar_url":"https://github.com/Aaaaash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-Component\n原生的alert弹窗会阻塞页面的运行，而自定义弹窗则不会有这种影响\u003cbr/\u003e\n这个小demo使用requireJS框架来完成简单的自定义弹窗组件\n\nV0.1版  \u003cbr/\u003e\n  基本的弹出框以及关闭按钮\n\n\nV0.2版 \u003cbr/\u003e\n  定制大小\n\nv0.3版 \u003cbr/\u003e\n  提供关闭按钮以及回调函数接口\n\nv0.4版 \u003cbr/\u003e\n  提皮肤定制接口\n\nv0.5版 \u003cbr/\u003e\n  添加标题栏拖动支持\n\nv0.6版\u003cbr/\u003e\n  添加自定义事件接口\n\nv0.7版\u003cbr/\u003e\n  支持连缀语法（像jquery一样链式调用）\n\nv0.8版\u003cbr/\u003e\n  将自定义事件抽象为一个widget类\n\nv0.9版\u003cbr/\u003e\n  增加confirm弹窗\n\nv1.0版\u003cbr/\u003e\n  增加通用组件common\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaaaash%2Fjs-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaaaash%2Fjs-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaaaash%2Fjs-component/lists"}