How to use the @optimizely/optimizely-sdk/lib/utils/enums.NOTIFICATION_TYPES.ACTIVATE function in @optimizely/optimizely-sdk

To help you get started, we’ve selected a few @optimizely/optimizely-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FindHotel / opticks / src / integrations / optimizely.js View on Github external
export const addActivateListener = listener =>
  optimizelyClient.notificationCenter.addNotificationListener(
    NOTIFICATION_TYPES.ACTIVATE,
    listener
  )