Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fileSource.split is not a function #101

Open
vincentDarcq opened this issue Sep 4, 2022 · 0 comments
Open

fileSource.split is not a function #101

vincentDarcq opened this issue Sep 4, 2022 · 0 comments

Comments

@vincentDarcq
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant