Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Angular doesn't compile when @Input/@Output are private #308

Merged
merged 11 commits into from
Sep 30, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,26 @@ export class NguCarousel<T> extends NguCarouselStore
private withAnim = true;
activePoint: number;
isHovered = false;
private inputs: NguCarouselConfig;
// tslint:disable-next-line:no-input-rename
@Input('inputs')
amine-bambrik-p8 marked this conversation as resolved.
Show resolved Hide resolved
set publicInputs(inputs: NguCarouselConfig) {
this.inputs = inputs;
}
private carouselLoad = new EventEmitter<any>();
// tslint:disable-next-line:no-input-rename
@Output('carouselLoad')
amine-bambrik-p8 marked this conversation as resolved.
Show resolved Hide resolved
get publicCarouselLoad(): EventEmitter<any> {
return this.carouselLoad;
}

@Input() private inputs: NguCarouselConfig;
@Output() private carouselLoad = new EventEmitter();

private onMove = new EventEmitter<NguCarousel<T>>();
// tslint:disable-next-line:no-output-on-prefix
amine-bambrik-p8 marked this conversation as resolved.
Show resolved Hide resolved
@Output() private onMove = new EventEmitter<NguCarousel<T>>();
// tslint:disable-next-line:no-input-rename
@Output('onMove')
amine-bambrik-p8 marked this conversation as resolved.
Show resolved Hide resolved
get publicOnMove(): EventEmitter<NguCarousel<T>> {
return this.onMove;
}
// isFirstss = 0;
arrayChanges: IterableChanges<{}>;
carouselInt: Subscription;
Expand Down