【文件属性】:
文件名称:notification-badge:Meteor 的简单动画通知徽章模板
文件大小:9KB
文件格式:ZIP
更新时间:2021-07-08 21:51:36
JavaScript
流星通知徽章
Meteor 的简单动画通知徽章模板
##用法
动画徽章可以用两种不同的方式声明,这两种方式都需要一个count参数。
使用模板包含助手:
{ { # notificationBadge count = notifications . count } }
< i xss=removed> < / i >
{ { / notificationBadge } }
或者作为常规模板:
// Because the badge is absolutely positioned, make sure it goes
// before the element it is attached to!
{ { > notificationBadge count = notifications . count } }
< i cl
【文件预览】:
notification-badge-master
----package.js(616B)
----tests()
--------notification-badge-tests.js(121B)
----LICENSE(1KB)
----screenshot.png(4KB)
----.gitignore(8B)
----lib()
--------notification-badge.css(362B)
--------notification-badge.html(191B)
--------notification-badge.js(768B)
----README.md(1KB)
----versions.json(921B)