{"id":13399254,"url":"https://github.com/aui/artDialog","last_synced_at":"2025-03-14T04:31:10.122Z","repository":{"id":3974117,"uuid":"5069156","full_name":"aui/artDialog","owner":"aui","description":"经典的网页对话框组件","archived":false,"fork":false,"pushed_at":"2020-08-05T05:14:26.000Z","size":708,"stargazers_count":3137,"open_issues_count":162,"forks_count":1097,"subscribers_count":281,"default_branch":"master","last_synced_at":"2024-10-29T15:26:51.360Z","etag":null,"topics":["dialog","jquery"],"latest_commit_sha":null,"homepage":"http://aui.github.com/artDialog/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-16T15:19:22.000Z","updated_at":"2024-10-29T01:31:07.000Z","dependencies_parsed_at":"2022-08-30T14:01:18.743Z","dependency_job_id":null,"html_url":"https://github.com/aui/artDialog","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui%2FartDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui%2FartDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui%2FartDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aui%2FartDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aui","download_url":"https://codeload.github.com/aui/artDialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526505,"owners_count":20305108,"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":["dialog","jquery"],"created_at":"2024-07-30T19:00:35.730Z","updated_at":"2025-03-14T04:31:05.111Z","avatar_url":"https://github.com/aui.png","language":"JavaScript","readme":"#\tartDialog\n\n[![CDNJS](https://img.shields.io/cdnjs/v/artDialog.svg)](https://cdnjs.com/libraries/artDialog)\n[![NPM Version](https://img.shields.io/npm/v/art-dialog.svg)](https://npmjs.org/package/art-dialog)\n[![NPM Downloads](https://img.shields.io/npm/dm/art-dialog.svg)](https://npmjs.org/package/art-dialog)\n\nartDialog——经典、优雅的网页对话框控件。\n\n[文档与示例](http://aui.github.io/artDialog/doc/index.html) | [AngularJS 版本](https://github.com/aui/angular-popups)\n\n```\nnpm install --save-dev art-dialog\n```\n\n##\t成功案例\n\n超过 40 万网站在使用 artDialog，其中不乏国内顶尖的产品：\n\n*\t[QQ空间 v8（腾讯）](http://qzone.qq.com)\n*\t[Phpcms（盛大）](http://www.phpcms.cn)\n*\t[极路由](http://www.hiwifi.com)\n*\t...\n\n##\t更新历史\n\n7.0.0\n\n1. 支持 Webpack\n2. 支持 Npm\n2. 将 CSS 打包到 JS 中\n\n6.0.4\n\n1. ``content()``方法传入隐藏元素并显示，并且``remove()``的时候会将元素插入到``body``避免被销毁 [#103](https://github.com/aui/artDialog/issues/103) [#126](https://github.com/aui/artDialog/issues/126)\n2. 修复``button``方法可能会多次绑定事件的问题\n3. 模态对话框可以避免 shift + tab 将焦点移出对话框 [#67](https://github.com/aui/artDialog/issues/67)\n\n6.0.3\n\n1. 修复``button``方法直接传入 html 不显示的问题\n2. 修复版本管理导致[#78](https://github.com/aui/artDialog/issues/78)重现问题\n\n6.0.2\n\n1. 提供无依赖 seajs 与 requirejs 的版本\n2. 取消按钮增加``cancelDisplay``配置，保留``cancel``事件的同时也不会显示取消按钮\n\n6.0.1\n\n1. 进一步完善焦点管理，避免抢夺开发者自己设置的焦点[#67](https://github.com/aui/artDialog/issues/67)\n2. 修复对话框内容使用 html5 data-id 属性冲突的问题[#78](https://github.com/aui/artDialog/issues/78)\n3. 改善 Esc 快捷键与 cancel 的问题[#36](https://github.com/aui/artDialog/issues/36)\n\n6.0.0\n\n1. 功能增强：支持定义左下角的区域 HTML、支持 12 个方向的气泡对话框、支持无标题栏与按钮区的对话框\n2. 更好的交互体验：更加先进的焦点管理，支持无障碍访问\n3. 面向未来：基于 HTML5 Dialog 的 API\n4. 模块化：支持 AMD、CMD 规范\n5. 可选增强版：拖拽支持、简化框架页面调用\n\n##\t授权协议\n\n免费，且开源，基于[LGPL-3.0](./LICENSE.md)协议。\n\n[\\[AD\\] 前端招聘：在海边写代码](https://juejin.im/post/5a2651d06fb9a0451c3a40ad)\n","funding_links":[],"categories":["JavaScript","Uncategorized","21. 对话框/遮罩层/弹出层(lightbox) ##","21. 对话框/遮罩层/弹出层(lightbox)"],"sub_categories":["Uncategorized","13.20 视差滚动(Parallax Scrolling) ###","13.20 视差滚动(Parallax Scrolling)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faui%2FartDialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faui%2FartDialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faui%2FartDialog/lists"}