Closed Arunprasanth closed 1 year ago
Got the answer. forget to set the setWidgetLengths(length); after appending a new child widget.
We have deprecated this project and there are no plans for active development going forward.
Please see the deprecation notice.
I have a carousel with n number of widgets and I want to load another n number of items to the carousel once the user focus the last item of the carousel. I have added afteralign event listener in the carousel to detect the navigation between carousel items and inside the listener I have created one widget and tried to append it to the current carousel using appendChildWidget() method
This is what my event listener code. I have checked in the dom also, if i put a break point after the appending method then I can see the data in the dom after that it seems like the particualr carousel is stuck and I cannot navigate to other items in the carousel. I just have a try with removeWidget method and it works. Any help will be really appreciated. Thanks in advance