On Angular 14, I try to display galleries from objects from my API.
Here is my options :
this.galleryOptions = [
{ "thumbnails": false },
{ "breakpoint": 500, "width": "5%", "height": "100px" }
];
I tried other options but still same error :
ERROR TypeError: fileSource.split is not a function
at NgxGalleryService.getFileType (kolkov-ngx-gallery.mjs:45:42)
at kolkov-ngx-gallery.mjs:1613:68
at Array.forEach ()
at NgxGalleryComponent.setImages (kolkov-ngx-gallery.mjs:1613:21)
at NgxGalleryComponent.ngDoCheck (kolkov-ngx-gallery.mjs:1459:18)
at callHook (core.mjs:2501:18)
at callHooks (core.mjs:2460:17)
at executeInitAndCheckHooks (core.mjs:2411:9)
at selectIndexInternal (core.mjs:9836:17)
at Module.ɵɵadvance (core.mjs:9819:5)
On Angular 14, I try to display galleries from objects from my API.
Here is my options : this.galleryOptions = [ { "thumbnails": false }, { "breakpoint": 500, "width": "5%", "height": "100px" } ];
I tried other options but still same error :
ERROR TypeError: fileSource.split is not a function at NgxGalleryService.getFileType (kolkov-ngx-gallery.mjs:45:42) at kolkov-ngx-gallery.mjs:1613:68 at Array.forEach ()
at NgxGalleryComponent.setImages (kolkov-ngx-gallery.mjs:1613:21)
at NgxGalleryComponent.ngDoCheck (kolkov-ngx-gallery.mjs:1459:18)
at callHook (core.mjs:2501:18)
at callHooks (core.mjs:2460:17)
at executeInitAndCheckHooks (core.mjs:2411:9)
at selectIndexInternal (core.mjs:9836:17)
at Module.ɵɵadvance (core.mjs:9819:5)