Home > widget-integration > CartDrawerRecommendationController > getCurrentNativeTranslateX

CartDrawerRecommendationController.getCurrentNativeTranslateX() method

Get the current translateX value from the container element.

Signature:

protected getCurrentNativeTranslateX(): number;

Returns:

number

Current translateX value in pixels