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:813

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:789


getConfig ​

▸ getConfig(): GlobalConfig

Gets the global configuration

Returns ​

GlobalConfig

Defined in ​

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


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:837


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:944


initializeHighImpactJs ​

▸ initializeHighImpactJs(): Promise<void>

Initialize the High Impact JS compatibility layer

Returns ​

Promise<void>

Defined in ​

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


resetState ​

▸ resetState(): void

Returns ​

void

Defined in ​

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


setConfig ​

▸ setConfig(config): void

Sets the global configuration

Parameters ​

NameType
configGlobalConfig

Returns ​

void

Defined in ​

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


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:845


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:824