🚂 Freighter is a highly-customizable HTML carousel library featuring a number of dynamic properties affecting carousel items and transitions. Most prominently, it gives complete control over the resizing method (for responsive layouts) as well as the wrapping method (for content display).
Rather than checking for the window to be resized to change the size of a carousel, the parent element of the carousel should be checked. This would cover cases where there are resizeable containers within the document that contain carousels.
Rather than checking for the window to be resized to change the size of a carousel, the parent element of the carousel should be checked. This would cover cases where there are resizeable containers within the document that contain carousels.