Open VGRAJED opened 3 years ago
Hi, @VGRAJED
To extend CarouselComponent, you need to add constructor() { }
and call super()
with all arguments the CarouselComponent constructor uses.
Hi @vitalii-andriiovskyi, why is that needed? What if I don't want to override the constructor?
Edit: Also some of the arguments in the CarouselComponent are not exported.
For example, can't do import { ResizeService } from 'ngx-owl-carousel-o';
angular 10. ngx-owl-carousel 4.1.0
There are no errors on the console, but the component does not render.
custom-owl-carousel.module.ts
custom-owl-carousel.component.ts
What's the right way to extend the component? The goal is to simply change the template.