Product Description
function logShoppableMetrics(moduleName, showsAddToCart) {
if (window.ue && window.ue.count) {
window.ue.count("aplus:shoppable:" + moduleName + ":addToCart", showsAddToCart ? 1 : 0);
}
}
/**
* Common event handler for click and keydown events.
* @param {Event} event - The event object.
* @param {Function} handleClickOrEnter - Function to handle click or Enter key events.
* @param {Function} handleEsc - Function to handle Esc key events.
*/
// [TODO][AplusMantle-8064] Create common event handler util(key events, click events) in AplusModuleResources
function handleClickAndKeyEvents(event, handleClickOrEnterOrSpace) {
const ENTER_KEY_CODE = 13;
const ESCAPE_KEY_CODE = 27;
const SPACE_KEY_CODE = 32;
const isClick = event.type === 'click';
const isKeydown = event.type === 'keydown';
const isEnter = isKeydown && event.keyCode === ENTER_KEY_CODE;
const isSpace = isKeydown && event.keyCode === SPACE_KEY_CODE;
const isEsc = isKeydown && event.keyCode === ESCAPE_KEY_CODE;
if (isClick || isEnter || isSpace) {
handleClickOrEnterOrSpace();
} else if (isEsc) {
handleEsc(event);
}
}
/**
* Function to handle esc key event.
* @param {Event} event - The event object.
*/
function handleEsc(event) {
event.target.blur()// force remove focus
}

1 Test Results
2 Texture
3 Benefits
4 Certifications
5 How to use

1 Review1 2 Review2 3 Review3

Your Hyaluronic Acid infused DIVE-IN Skin Care Regimen
DIVE-IN SERUM
Add to Cart
logShoppableMetrics("premium-module-5-comparison-table-scroller", true)
DIVE IN SOOTHING CREAM
Add to Cart
logShoppableMetrics("premium-module-5-comparison-table-scroller", true)
DIVE IN SERUM REFILL SET
Add to Cart
logShoppableMetrics("premium-module-5-comparison-table-scroller", true)
DIVE IN SHEET MASK
Add to Cart
logShoppableMetrics("premium-module-5-comparison-table-scroller", true)
DIVE-IN CLEANSING FOAM
Add to Cart
logShoppableMetrics("premium-module-5-comparison-table-scroller", true)
DIVE-IN TONER
Add to Cart
logShoppableMetrics("premium-module-5-comparison-table-scroller", true)
DIVE IN CREAM
Add to Cart
logShoppableMetrics("premium-module-5-comparison-table-scroller", true)
Customer Reviews
4.5 out of 5 stars
1,846
4.5 out of 5 stars
708
4.5 out of 5 stars
1,846
4.6 out of 5 stars
125
4.5 out of 5 stars
272
4.5 out of 5 stars
175
4.4 out of 5 stars
126
Price
$22.00$22.00
$27.00$27.00
$35.00$35.00
$25.79$25.79
$17.00$17.00
$20.52