import {Component, EventEmitter, Input, Output} from "@angular/core";
@Component({
selector:'invoice-tab',
template:`
Invoice
`
})
export class InvoiceTabComponent{
//region Options Property
private _options: InvoiceOptions = null;
@Output() OptionsChange = new EventEmitter();
@Input() Settings:Settings;
@Input() get Options(): InvoiceOptions {
return this._options;
}
set Options(value: InvoiceOptions) {
let previousValue = this._options;
this._options = value;
if (value != previousValue)
this.OptionsChange.emit(value);
}
//endregion
}