import {Component, EventEmitter, Input, Output} from "@angular/core";
import {RnAnimationSlide} from "../sharedmodules/animations/RnAnimationSlide";
@Component({
selector:'tax-tab',
template:`
Tax
`,
animations:[RnAnimationSlide.Compile()]
})
export class TaxTabComponent{
//region Options Property
private _options: TaxesOptions = null;
@Output() OptionsChange = new EventEmitter();
@Input() get Options(): TaxesOptions {
return this._options;
}
set Options(value: TaxesOptions) {
let previousValue = this._options;
this._options = value;
if (value != previousValue)
this.OptionsChange.emit(value);
}
//endregion
}