ay-dialog:符合HTML5规范保鲜膜

时间:2021-04-27 16:00:56
【文件属性】:
文件名称:ay-dialog:符合HTML5规范保鲜膜
文件大小:85KB
文件格式:ZIP
更新时间:2021-04-27 16:00:56
polyfill web-component angular html5 a11y 对话框 符合HTML5规范的dialog元素polyfill。 特征 自动支持页面中的dialog元素 支持HTMLDialogElement API方法 兼容Chrome和Firefox中的本机dialog支持 支持普通和模式对话框(带有背景) 适当的焦点陷印和禁用背景内容以实现可访问性 浏览器支持包括IE11和Edge,Chrome,Firefox和Safari IE11和Edge <15需要Element.closest() polyfill(不包括) 附加(非标准)功能 模态对话框打开时阻止滚动 关闭模式对话框时恢复焦点 单击背景自动关闭对话框 安装 可以从npm安装polyfill: npm install ay-dialog 用法 包装中包括3个品种,其中包括严格满足规范要求的行为的polyfill,具有其他功能的polyfill和Web组件自定义元素。 具有附加功能的Po
【文件预览】:
ay-dialog-master
----.gitignore(158B)
----tsconfig.json(743B)
----LICENCE(1KB)
----README.md(2KB)
----demo.html(16KB)
----.github()
--------workflows()
----rollup.config.js(740B)
----tests()
--------dialog-autofocus.html(3KB)
--------dialog-autofocus-just-once.html(934B)
--------dialog-showModal-remove.html(1KB)
--------README.md(4KB)
--------inert-node-is-unfocusable.html(2KB)
--------demo.html(15KB)
--------component.html(15KB)
--------support()
--------dialog.html(5KB)
--------dialog-showModal.html(6KB)
--------resources()
--------dialog-focusing-steps-prevent-autofocus.html(823B)
--------dialog-close.html(3KB)
--------xspec-inert-node-is-unfocusable.html(2KB)
--------remove-dialog-should-unblock-document.html(909B)
--------xspec-dialog-showModal.html(5KB)
--------dialog-display.html(420B)
--------xspec-dialog-showModal-remove.html(1KB)
--------dialog-autofocus-multiple-times.html(2KB)
--------xspec-focus-after-close.html(4KB)
--------xspec-show-modal-focusing-steps.html(2KB)
--------dialog-enabled.html(429B)
--------centering.html(3KB)
--------inert-does-not-match-disabled-selector.html(917B)
--------dialog-form-submission.html(4KB)
--------show-modal-focusing-steps.html(2KB)
--------abspos-dialog-layout.html(5KB)
--------centering-iframe.sub.html(617B)
--------dialog-open.html(1KB)
--------dialog-return-value.html(2KB)
----package.json(2KB)
----src()
--------README.md(698B)
--------polyfill.ts(5KB)
--------component.ts(1KB)
--------dialog_additions.ts(7KB)
--------index.ts(1KB)
--------dialog_element.ts(21KB)
----CODE_OF_CONDUCT.md(3KB)
----.eslintignore(131B)
----.editorconfig(207B)
----.eslintrc.js(1KB)
----package-lock.json(99KB)

网友评论