【文件属性】:
文件名称:jquery-alertiny:从 Bootstrap 创建和显示警报组件
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-20 20:00:07
JavaScript
jQuery-警报 v1.0.0
显示 Bootstrap 警报的小插件。
选项
支持以下选项:
extraClass:向警报 div 添加额外的类(默认 = '')
closeButton:创建关闭按钮(默认 = true)
淡出效果:添加淡入淡出效果类(默认 = true)
例子
// Example #1
$ ( '.alert-container' ) . Alertiny (
'success' ,
'Example only with alert type and alert message.'
) ;
// Example #2
$ ( '.alert-container' ) . Alertiny (
'info' ,
'Example with extra classes.' ,
{ extraClass : 'example' }
【文件预览】:
jquery-alertiny-master
----jquery.alertiny.min.js(698B)
----LICENSE.md(1KB)
----README.md(877B)
----jquery.alertiny.js(1KB)