Home > widget-integration > CartDrawerRecommendationController > setupNativeDragHandlers
CartDrawerRecommendationController.setupNativeDragHandlers() method
Setup drag and touch handlers for carousel swipe functionality.
Signature:
protected setupNativeDragHandlers(sliderElement: HTMLElement): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
sliderElement |
HTMLElement |
The slider container element |
Returns:
void