Closed myrsk closed 6 years ago
Hi @myrsk,
Have you imported Subject
from rxjs? Like this: import { Subject } from 'rxjs/Subject';
?
@tjoskar unfortunately, since I couldn't get it to work for some days, I had to remove it and used a different approach.
I will try this though, not sure 100% if i did import.
Thanks.
@myrsk, I see, let me know if it doesn't solve your issue.
hi please any solution for this issue ? for now i am setting my images to default image.
Hi @sabiridwan,
Do you get the same error, ReferenceError: Subject is not defined ReferenceError: Subject is not defined
? In any case, please open a new issue and I will try to help you.
Hi @tjoskar thanks.. i worked when i use <ion-slide #swiper> <img [defaultImage]="defaultImage" [lazyLoad]="image" [scrollObservable]="swiper.ionSlideWillChange" />
Hello,
Having similar issue to https://github.com/tjoskar/ng-lazyload-image/issues/256
However, since it is a closed issue, I have created a new open one.
However, when i tried to use the same fix. I am getting a runtime error on ionic 3
page.ts - here im getting a debug notice on Subject not found. TS.
page.html
Uncaught (in promise): ReferenceError: Subject is not defined ReferenceError: Subject is not defined