aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/notifications/notification-inner-content-example.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular/notifications/notification-inner-content-example.component.ts')
-rw-r--r--src/angular/notifications/notification-inner-content-example.component.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/angular/notifications/notification-inner-content-example.component.ts b/src/angular/notifications/notification-inner-content-example.component.ts
new file mode 100644
index 0000000..552f7b0
--- /dev/null
+++ b/src/angular/notifications/notification-inner-content-example.component.ts
@@ -0,0 +1,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;
+}