Skip to content

highimpact.js / advantage/high-impact-js

Module: advantage/high-impact-js

Variables

cmd

Const cmd: Object

Command queue handler for asynchronous execution

Type declaration

NameType
push(command: () => void) => void

Defined in

src/advantage/high-impact-js/index.ts:812

Functions

defineSlot

defineSlot(slotConfig): void

Defines a new ad slot with the specified configuration

Parameters

NameType
slotConfigSlotConfig

Returns

void

Defined in

src/advantage/high-impact-js/index.ts:788


getConfig

getConfig(): GlobalConfig

Gets the global configuration

Returns

GlobalConfig

Defined in

src/advantage/high-impact-js/index.ts:958


getSlotConfig

getSlotConfig(elementId): undefined | SlotConfig

Gets the configuration for a specific slot

Parameters

NameType
elementIdstring

Returns

undefined | SlotConfig

Defined in

src/advantage/high-impact-js/index.ts:836


getTemplateConfig

getTemplateConfig(template): TemplateConfig

Gets the configuration for a specific template

Parameters

NameType
templatestring

Returns

TemplateConfig

Defined in

src/advantage/high-impact-js/index.ts:943


initializeHighImpactJs

initializeHighImpactJs(): Promise<void>

Initialize the High Impact JS compatibility layer

Returns

Promise<void>

Defined in

src/advantage/high-impact-js/index.ts:1158


resetState

resetState(): void

Returns

void

Defined in

src/advantage/high-impact-js/index.ts:1233


setConfig

setConfig(config): void

Sets the global configuration

Parameters

NameType
configGlobalConfig

Returns

void

Defined in

src/advantage/high-impact-js/index.ts:950


setTemplateConfig

setTemplateConfig(template, config): void

Sets the configuration for a specific template

Parameters

NameType
templatestring
configTemplateConfig

Returns

void

Defined in

src/advantage/high-impact-js/index.ts:844


setTopBarVisibility

setTopBarVisibility(isVisible): void

Sets the visibility of the top bar

Parameters

NameType
isVisibleboolean

Returns

void

Defined in

src/advantage/high-impact-js/index.ts:823