simple-modal.js是一款JavaScript弹出窗口插件,添加一个自定义动画,漂亮的确认对话框在你的网站/ web应用程序。
创建一个新的模态窗口
async function openModal() { this.myModal = new SimpleModal("Confirm Dialog!", "Are You Sure", "Sure!", "No"); try { const modalResponse = await myModal.question(); alert(`The response is ${modalResponse}`); } catch(err) { console.log(err); } }
openModal()
网页弹出窗口插件simple-modal.js
正在加载文件目录...
- 热度 25
![](https://imgs.bootstrapmb.com/2022/4/290548095.jpg)
ID471584下载了 此素材
![](https://imgs.bootstrapmb.com/2023/9/240353272.jpg)
。下载了 此素材
![](https://imgs.bootstrapmb.com/2023/8/280358433.jpg)
david下载了 此素材
![](https://imgs.bootstrapmb.com/2023/7/270940109.jpg)
淋见下载了 此素材
![](https://imgs.bootstrapmb.com/2022/8/290933280.jpg)
归尘下载了 此素材
![](https://imgs.bootstrapmb.com/2021/12/191133553.jpg)
LFG下载了 此素材
![](https://imgs.bootstrapmb.com/2023/1/080128305.jpg)
忘忧收藏了 此素材
![](https://imgs.bootstrapmb.com/2021/3/211103421.jpg)
(*^__^*)紫龙下载了 此素材
![](https://imgs.bootstrapmb.com/2020/4/280228012.jpg)
现,在下载了 此素材
![](https://imgs.bootstrapmb.com/2022/3/110337443.jpg)
vacgo下载了 此素材