基于 W3C HTML5 Dialog API 的弹出层基础类。
它不提供 UI,但可以通过填充模板构建对读屏器友好访问的对话框、菜单、Tips 等弹出层。
- 基于 HTML5 Dialog API
- 提供 12 种按元素对齐方式或页面居中显示
- 统一管理 zIndex
- 不干扰读屏器操作页面
- 支持普通与模态浮层
- 支持 ARIA 标准
- 兼容 IE6 与所有主流浏览器
IE6~IE11、Chrome、Firefox、Safari、Opera
W3C HTML5 Dialog Plus
基于 W3C HTML5 Dialog API 的弹出层基础类。
它不提供 UI,但可以通过填充模板构建对读屏器友好访问的对话框、菜单、Tips 等弹出层。
IE6~IE11、Chrome、Firefox、Safari、Opera
isShowDropdown: !('createTouch' in document)
在"触屏电脑"(不是平板电脑)上判断错误.请修正.
相关设备: Surface Pro 3 电脑 ,ThinkPad带触屏的电脑
我在以上两种电脑上用鼠标或是直接手指点击屏幕.都失效.
跟踪了下,发现在这种设置上
_clickType: 'onmousedown' in document ? 'mousedown' : 'touchstart',
为:mousedown
但isShowDropdown又为false.
导制鼠标或手指都不能触发.
解决下selectbox在IE6下的问题吧......
请相信这是你见过的世界上最负责的模拟下拉控件,没有之一。
下拉组件 IE6下确实用不了.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.