wm-blazor-slick-carousel
wm-blazor-slick-carousel copied to clipboard
Error while adding item
I got this error while Adding item to carousel
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: $(...).slick is not a function
TypeError: $(...).slick is not a function
at Module.WMBSCAdd (https://localhost:7257/_content/WMBlazorSlickCarousel/wm-blazor.slick-carousel.js:22:16)
at https://localhost:7257/_framework/blazor.webassembly.js:1:3332
at new Promise (<anonymous>)
at Object.beginInvokeJSFromDotNet (https://localhost:7257/_framework/blazor.webassembly.js:1:3306)
at Object.St [as invokeJSFromDotNet] (https://localhost:7257/_framework/blazor.webassembly.js:1:59938)
at _mono_wasm_invoke_js_blazor (https://localhost:7257/_framework/dotnet.6.0.7.rys6jl4f53.js:1:195300)
at wasm://wasm/00971e46:wasm-function[219]:0x1a490
at wasm://wasm/00971e46:wasm-function[167]:0xce5e
at wasm://wasm/00971e46:wasm-function[166]:0xbd71
at wasm://wasm/00971e46:wasm-function[2812]:0xabf01
Microsoft.JSInterop.JSException: $(...).slick is not a function
TypeError: $(...).slick is not a function
at Module.WMBSCAdd (https://localhost:7257/_content/WMBlazorSlickCarousel/wm-blazor.slick-carousel.js:22:16)
at https://localhost:7257/_framework/blazor.webassembly.js:1:3332
at new Promise (<anonymous>)
at Object.beginInvokeJSFromDotNet (https://localhost:7257/_framework/blazor.webassembly.js:1:3306)
at Object.St [as invokeJSFromDotNet] (https://localhost:7257/_framework/blazor.webassembly.js:1:59938)
at _mono_wasm_invoke_js_blazor (https://localhost:7257/_framework/dotnet.6.0.7.rys6jl4f53.js:1:195300)
at wasm://wasm/00971e46:wasm-function[219]:0x1a490
at wasm://wasm/00971e46:wasm-function[167]:0xce5e
at wasm://wasm/00971e46:wasm-function[166]:0xbd71
at wasm://wasm/00971e46:wasm-function[2812]:0xabf01
at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext()
at Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args)
at WMBSCCore.SlickAdd(String newItem)
at WMBlazorSlickCarousel.WMBSC.BlazorSlickCarousel.Add(String newItem)
at Client.Shared.GallerySliderSection.OnParametersSetAsync() in
*I have registered the service