fnon.js是一个多功能的网页弹出js插件,多种样式效果,弹出框、通知,警告、确认对话框,和各种类型的web应用程序加载指标。弹出框调用方法,Light Dark Primay Succes Info Dangers WarningFnon.Alert.Light({ title:'Alert Message', message:'Alert Title', callback:()=>{ // callback } });重写参数配置Fnon.Alert.Init({ message: '', title: '', titleColor: GColors.Dark, titleBackground: GColors.Light, color: '#2b2b2b', background: 'rgba(0, 0, 0, 0.1)', fontFamily: '"Quicksand", sans-serif', width: 'nl', // sm, lg, nl, xl closeButton: true, animation: 'slide-top', // 'fade', 'slide-bottom', 'slide-right' ,'slide-left' closeButton: false, callback: undefined, icon: undefined, iconColor: '#000', showIcon: false, btnOkText: 'Ok', btnOkColor: '#d4d4d4', btnOkBackground: '#d4d4d4', btnOkShadow: 'rgba(0, 0, 0, 0.2)', btnOkBorderColor: '#d4d4d4', zIndex:4000, // Functions beforeShow: undefined, afterShow: undefined, });对话框调用方式Fnon.Ask.Light({ title:'Confirm Message', message:'Confirm Title', callback:(result)=>{ // callback } });网页加载中loading动画Fnon.Wait.Init({ fontFamily:'"Quicksand", sans-serif', svgSize: { w: '100px', h: '100px' }, svgColor: '#029eff', textColor: '#029eff', textSize: '16px', clickToClose: false, background: 'rgba(255,255,255,0.5)', zindex: 4000, containerSize: '350px' });
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)