方法或属性 | 默认值 | 方法说明 | |
bgColor | #d00 | 设置消息的前端背景颜色 | |
textColor | #fff | 设置字体颜色 | |
fontFamily | sans-serif | 设置字体的字体样式(黑体、宋体等) | |
fontStyle | bold | 字体加粗(normal,浏览器 italic, oblique, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900) | |
type | circle | 圆角还是正方形 (circle, rectangle) | |
position | down | 消息的定位位置 (up, down, left, upleft) | |
animation | slide | 动画效果 (slide, fade, pop, popFade, none ) | |
elementId | false | 如果不使用字体的话,那么使用图标ID来标记了。 | |
element | false | 改变link标签中的消息新图标使用的href。 | |
dataUrl | false | 可以使用URL带参数来执行动画效果。提示待更 |