aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/notifications/notification-inner-content-example.component.ts
blob: 552f7b03470c774cc7cc82f47ceda6e65011b919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Component, Input } from "@angular/core";

@Component({
    selector: "innernotif-content",
    template: `
        <div>
            <h4>Custom Notification</h4>
            <div>
                <span>{{notifyTitle}}</span>
            </div>
            <div>
                <span>{{notifyText}}</span>
            </div>
        </div>
`
})
export class InnerNotifContent {

    @Input() notifyTitle:string;
    @Input() notifyText:string;
}