没有合适的资源?快使用搜索试试~ 我知道了~
meteor-alerts:您的流星应用程序的浏览器警报
共8个文件
coffee:2个
gitignore:1个
md:1个
需积分: 5 0 下载量 151 浏览量
2021-06-23
09:15:12
上传
评论
收藏 3KB ZIP 举报
温馨提示
流星警报 这是一个克隆,使其服务器端可用 将alert模板添加到您的应用程序 使用Alert.success('You created a post!')触发成功警报 删除警报 Alert.clear() ###完整的API### Alert = set: (title,html,bsClass,dismiss)-> Session.set 'Alert', { title: title html: html bsClass: 'alert-' + bsClass dismiss: dismiss } clear: -> Session.set 'Alert', null success: (html)-> @set('',html,'success') error: (html)-> @set('',html,'danger')
资源推荐
资源详情
资源评论
收起资源包目录
meteor-alerts-master.zip (8个子文件)
meteor-alerts-master
.gitignore 8B
package.js 647B
README.md 613B
versions.json 1KB
lib
client
templates.jade 222B
templates.less 59B
templates.coffee 60B
alerts.coffee 369B
共 8 条
- 1
资源评论
止蚀
- 粉丝: 22
- 资源: 4508
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功