import {Component, EventEmitter, Input, Output} from "@angular/core";
@Component({
selector:'general-tab',
template:`
General Options
Currency And Date Options
`
})
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
}