【文件属性】:
文件名称:bootstrap-alerts:Meteor JS 包 - 设置应用程序警报
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-02 01:02:50
JavaScript
引导警报
显示应用程序气泡警报(Growl 样式)。 取决于twbs:bootstrap包。
安装
meteor add bojicas:bootstrap-alerts
用法
将{{> BootstrapAlerts}}添加到您的模板/布局。
使用Alerts.set('content', 'type')调用警报,其中type可以采用以下值:
success
info
warning
danger
请注意,您可以调用Alerts.set('content'); (没有第二个参数)以获得danger类型的警报。
执照
麻省理工学院
【文件预览】:
bootstrap-alerts-master
----bojicas:bootstrap-alerts.css(643B)
----bojicas:bootstrap-alerts-tests.js(121B)
----bojicas:bootstrap-alerts.html(365B)
----package.js(678B)
----LICENSE(1KB)
----README.md(657B)
----bojicas:bootstrap-alerts.js(504B)