ExposedApi.Internal.default-2

Embedding API Reference / Modules / exposed-api / <internal> / default

Class: default

exposed-api.<internal>.default

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new default(configuratorId, useTracking?): default

Parameters

Name
Type
Default value

configuratorId

string

undefined

useTracking

boolean

true

Returns

default

Properties

history

history: IArguments[] = []

Methods

addCallback

addCallback(listener): void

Parameters

Name
Type

Returns

void


cleanUpHistory

cleanUpHistory(): void

Returns

void


giveConsent

giveConsent(): void

Returns

void


removeUiCallback

removeUiCallback(listener): void

Parameters

Name
Type

Returns

void


setDimension

setDimension(dimension, value): void

Parameters

Name
Type

dimension

string

value

any

Returns

void


setDimensions

setDimensions(dimensions): void

Parameters

Name
Type

dimensions

Object

Returns

void


trackContentError

trackContentError(message): void

Parameters

Name
Type

message

string

Returns

void


trackError

trackError(message, specialErrorName?): void

Parameters

Name
Type
Default value

message

string

undefined

specialErrorName

Nullable<string>

null

Returns

void


trackEvent

trackEvent(action, category, label, value?, fieldsObject?): void

Parameters

Name
Type
Default value

action

string

undefined

category

undefined

label

string

undefined

value

Nullable<number>

null

fieldsObject

object

{}

Returns

void


trackNoActivePackage

trackNoActivePackage(): void

Returns

void


trackTiming

trackTiming(category, label, value, fieldsObject?): void

Parameters

Name
Type

category

label

any

value

number

fieldsObject

object

Returns

void


trackWrongDomain

trackWrongDomain(): void

Returns

void

Last updated