You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sorry, that might not be a bug, but i am stucked :( Was trying to google or find more info on that problem for 2 days.
I have an http get method in my project that returns an array of objects like this:
I even simplified it, and tried using only http.get call to supply data to carousel. In either way i get "cannot read length of undefined". Why so?
My other ngu-carousels in project use Store select observables and work great with async syntax as dataSource, even if i delay data loading from Store(to make it undefined for some seconds). Still, it's ok, ngu-carousel waits till data is emitted and then display slides, but it won't work that way with http.get method
The text was updated successfully, but these errors were encountered:
I tried to initialize myStream$ with empty/non-empty array: myStream$: Observable<any[]> = of([]), and console.loged it's length at start(work as expected) to may be give something to ngu-carousel at start, but still same error
I am sorry, that might not be a bug, but i am stucked :( Was trying to google or find more info on that problem for 2 days.
I have an http get method in my project that returns an array of objects like this:
http is a casual Angular Http Service that returns an observable.
I tried using pipe that slightly modifies that data and then use that Observable$ with ngu-carousel this way:
I even simplified it, and tried using only http.get call to supply data to carousel. In either way i get "cannot read length of undefined". Why so?
My other ngu-carousels in project use Store select observables and work great with async syntax as dataSource, even if i delay data loading from Store(to make it undefined for some seconds). Still, it's ok, ngu-carousel waits till data is emitted and then display slides, but it won't work that way with http.get method
The text was updated successfully, but these errors were encountered: