个人静态博客说明
sufangyu / dialog2 Goto Github PK
View Code? Open in Web Editor NEW移动端弹窗插件第二版,包括常见的 alert、confirm。toast、notice 四种类型弹窗,支持 jQuery 和 Zepto 库。(已停止维护,请使用vue、react 等新框架)
移动端弹窗插件第二版,包括常见的 alert、confirm。toast、notice 四种类型弹窗,支持 jQuery 和 Zepto 库。(已停止维护,请使用vue、react 等新框架)
Unable to preventDefault inside passive event listener due to target being treated as passive
弹出层加输入框无法获得焦点,不能拉起键盘
toast弹窗,update时不设置infoIcon,在ios会图标位置会显示方框
打开弹窗仍然可以滑动页面
谷歌浏览器自定义设备大小时,确认按钮无法点击
依赖的是jQuery,版本是3.0
在IOS的微信浏览器里,当content内容超过一屏,会出现定位不准的问题
实现按需引入
有这样一个需求,按钮事件的回掉结果由自己来处理,点击任何按钮之后,不要关闭弹窗,让开发者自己调用close方法来关闭。
或者作者大大已经实现,只是没提供api?
$(document).dialog({
type: 'alert',
overlayClose: true,
content: '<div><input type="text"></div>'
});
无效
触屏电脑上,点击事件有时候失灵(有时候点击的位置不对,有时候获取不到点击事件)
如何实现多个窗口?是先删除点现有的那个然后再生成一个新的吗?
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.