GeezerVison is showing github.com — GitHub - tzjvon/Dialog
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
Dialog.showMask(fn)
// fn遮罩完全显示后绑定的点击所触发的函数,也可以不传参数,默认不触发
Dialog.hideMask()
// 隐藏遮罩(没有参数)
Dialog.alert(content, callback)
/**
* content 传入弹框提示的内容
* callback 点击确认按钮之后的回调函数(可选)
**/
Dialog.confirm(content, _opts)
/**
* content 为传入弹框提示的内容
* _opts['no'] 为点击取消按钮的回调函数(可选)
* _opts['yes'] 为点击确认按钮的回调函数(可选)
**/
About
No description, website, or topics provided.
Resources
Stars
1 star
Watchers
1 watching
Forks