@shopgate/engage
Version:
Shopgate's ENGAGE library.
23 lines (20 loc) • 871 B
JavaScript
/**
* Copyright (c) 2017-present, Shopgate, Inc. All rights reserved.
*
* This source code is licensed under the Apache 2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
// FEATURES
const NAV_MENU = 'nav-menu';
const PRODUCT = 'product';
// CONTENTS
const BACK_IN_STOCK = 'back-in-stock';
// POSITIONS
const BEFORE = 'before';
const AFTER = 'after';
export const NAV_MENU_BACK_IN_STOCK_BEFORE = `${NAV_MENU}.${BACK_IN_STOCK}.${BEFORE}`;
export const NAV_MENU_BACK_IN_STOCK = `${NAV_MENU}.${BACK_IN_STOCK}`;
export const NAV_MENU_BACK_IN_STOCK_AFTER = `${NAV_MENU}.${BACK_IN_STOCK}.${AFTER}`;
export const PRODUCT_BACK_IN_STOCK_BEFORE = `${PRODUCT}.${BACK_IN_STOCK}.${BEFORE}`;
export const PRODUCT_BACK_IN_STOCK = `${PRODUCT}.${BACK_IN_STOCK}`;
export const PRODUCT_BACK_IN_STOCK_AFTER = `${PRODUCT}.${BACK_IN_STOCK}.${AFTER}`;