import createModals from '代码存放路径'
//构造函数接收四个参数:
//标题(string),内容(string),确认回调(function),取消回调(function)
let modals = new createModals('title','content',canfirmCallback,cancelCallback)
//显示弹出框
modals.show()
-
Notifications
You must be signed in to change notification settings - Fork 0
sponses/my-modals
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
移动端弹出框组件
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published