| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { Link } from './link' |
||
| 14 | initNotifications() { |
||
| 15 | $('.notification-container').each((index, element) => { |
||
| 16 | let text = $(element).html() |
||
| 17 | let color = $(element).data('color') |
||
| 18 | let placementFrom = $(element).data('placement') |
||
| 19 | let placementAlign = $(element).data('align') |
||
| 20 | let animationEnter = $(element).data('animation-enter') |
||
| 21 | let animationExit = $(element).data('animation-exit') |
||
| 22 | |||
| 23 | let notify = new Notify() |
||
| 24 | notify.show(text, color, placementFrom, placementAlign, animationEnter, animationExit) |
||
| 25 | }) |
||
| 26 | } |
||
| 27 | } |