alexcrack / alexcrack/angular-ui-notification
Using the options.type doesn't work
未关闭
- 主要语言
- JavaScript
- 星标
- 529
- 派生
- 164
- PR 合并指标
- 30 天内没有已合并 PR
描述
In the readme, it mentions that I can set the type of the notifications in the options using the type property
``` JavaScript
{ title: "Session Expired!", message: "Please login in again.", type: "warning" };
```
But this will always show up as a primary notification. Is this the expected behavior? After some debugging, I was unsure if this [line](https://github.com/alexcrack/angular-ui-notification/blob/e617de2eb11b43f3cf388aea3ae32668c94cf097/src/angular-ui-notification.js#L47) should be change to
``` Javascript
args.type = t || args.type || '';
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。