GmAlert icon indicating copy to clipboard operation
GmAlert copied to clipboard

一个轻量且强大的消息弹出组件

Results 1 GmAlert issues
Sort by recently updated
recently updated
newest added

作者您好,我在使用GmAlert时(html+js+css,非vue)发现了一些问题: 1、“README”文档中均是“Gmal”对象,但我查看gmalert.min.js源码中发现应该是“GmAlert”对象,且实际使用时用“Gmal”对象会报错; ![image](https://github.com/GmeroAlert/GmAlert/assets/45707612/41e17565-1691-4a95-ad9e-2191acf4939b) 2、各模块弹出后遮罩层应该完全遮住底层元素,禁止底层元素的点击和选中等操作,以“Alert”模块为例,现在我(开发者)希望用户跟随弹窗做下一步操作,而不希望用户还能点页面上的其他按钮。我觉得您可以参考layui的layer弹层组件(https://layui.dev/docs/2/layer) ![image](https://github.com/GmeroAlert/GmAlert/assets/45707612/93bd5ca4-d6aa-4e63-85ce-af88a6297ce1) 3、Message模块的弹层大小太小了,如果能调大一点、与Alert的大小差不多就好了 ![image](https://github.com/GmeroAlert/GmAlert/assets/45707612/fc66b70e-098e-4170-84e3-5f9f58fcf843) 4、“README”文档我认为还不够完善和便于阅读理解,不完善的地方在于没有“Close”方法,当我(开发者)使用GmAlert.alert("加载中", "loading")显示等待框后,是需要我(开发者)在合适的时机手动关闭它,而文档中并没有有关“Close”方法的说明,我也是在gmalert.min.js源码中找到这个方法的;不够便于阅读理解的地方是在于参数描述不够简单明了,如下面一段: `type?: 'success' | 'error' | 'warn' | 'info' | 'loading' option?: { timeout?: number // 消失的时间 // 关闭后的回调 // @param status...

suggestion