import {Component, EventEmitter, Input, Output} from "@angular/core"; @Component({ selector:'general-tab', template:`

General Options

Admin Email
Admin Name

Currency And Date Options

Currency Symbol
Currency Position
Thousand Separator
Decimal Separator
Number of Decimals
` }) export class GeneralTabComponent{ //region Options Property private _options: GeneralOptions = null; @Output() OptionsChange = new EventEmitter(); @Input() get Options(): GeneralOptions { return this._options; } set Options(value: GeneralOptions) { let previousValue = this._options; this._options = value; if (value != previousValue) this.OptionsChange.emit(value); } //endregion }