Open pierresh opened 6 months ago
in case anyone else stumbles upon this, make sure the dependency is injected in the constructor as public; at least that's what solved the problem for me.
constructor(public _lightbox: Lightbox, public _lightboxConfig: LightboxConfig) { }
I cannot use ngx-lightbox in standalone component with Angular 15.
However, I imported LightboxModule in my component.
I get the following error: