highimpact.js / advantage/high-impact-js
Module: advantage/high-impact-js
Variables
cmd
• Const cmd: Object
Command queue handler for asynchronous execution
Type declaration
| Name | Type |
|---|---|
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
| Name | Type |
|---|---|
slotConfig | SlotConfig |
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
| Name | Type |
|---|---|
elementId | string |
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
| Name | Type |
|---|---|
template | string |
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
| Name | Type |
|---|---|
config | GlobalConfig |
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
| Name | Type |
|---|---|
template | string |
config | TemplateConfig |
Returns
void
Defined in
src/advantage/high-impact-js/index.ts:844
setTopBarVisibility
▸ setTopBarVisibility(isVisible): void
Sets the visibility of the top bar
Parameters
| Name | Type |
|---|---|
isVisible | boolean |
Returns
void