import {Component, EventEmitter, Input, Output} from "@angular/core"; @Component({ selector:'email-tab', template:`
Email Name
Email Address
Enable
Subject
Content
Send me a copy of this email
Enable
Subject
Content
Send me a copy of this email
Enable
Reminder Schedule
Subject
Content
Send me a copy of this email
` }) export class EmailTabComponent{ //region Options Property private _options: EmailOptions = null; @Output() OptionsChange = new EventEmitter(); @Input() get Options(): EmailOptions { return this._options; } set Options(value: EmailOptions) { let previousValue = this._options; this._options = value; if (value != previousValue) this.OptionsChange.emit(value); } //endregion }