Israel Lavi | 1994c98 | 2018-05-21 17:42:00 +0300 | [diff] [blame] | 1 | import { Component, Input } from "@angular/core"; |
| 2 | |
| 3 | @Component({ |
| 4 | selector: "innernotif-content", |
| 5 | template: ` |
| 6 | <div> |
| 7 | <h4>Custom Notification</h4> |
| 8 | <div> |
| 9 | <span>{{notifyTitle}}</span> |
| 10 | </div> |
| 11 | <div> |
| 12 | <span>{{notifyText}}</span> |
| 13 | </div> |
| 14 | </div> |
| 15 | ` |
| 16 | }) |
Israel Lavi | b2a3ace | 2018-08-07 10:54:17 +0300 | [diff] [blame^] | 17 | |
Israel Lavi | 1994c98 | 2018-05-21 17:42:00 +0300 | [diff] [blame] | 18 | export class InnerNotifContent { |
| 19 | |
Israel Lavi | b2a3ace | 2018-08-07 10:54:17 +0300 | [diff] [blame^] | 20 | @Input() notifyTitle: string; |
| 21 | @Input() notifyText: string; |
Israel Lavi | 1994c98 | 2018-05-21 17:42:00 +0300 | [diff] [blame] | 22 | } |