Interface NostoContextType

Hierarchy

  • NostoContextType

Properties

account: string
clientScriptLoaded: boolean
currentVariation?: string
pageType: string
recommendationComponent?: ReactElement<{
    nostoRecommendation: Recommendation;
}, string | JSXElementConstructor<any>>

Type declaration

renderFunction?: AnyFunction
responseMode: string

Methods

  • Parameters

    • type: string

    Returns {
        pageTypeUpdated: boolean;
        renderCampaigns(data, api) => void;
    }

    • pageTypeUpdated: boolean
    • renderCampaigns:function
      • Parameters

        • data: unknown
        • api: NostoClient

        Returns void

Generated using TypeDoc