Skip to content

@get-advantage/advantage / types / AdvantageFormat

Interface: AdvantageFormat

types.AdvantageFormat

Properties

close

Optional close: (wrapper: IAdvantageWrapper, adIframe?: HTMLElement) => void

Type declaration

▸ (wrapper, adIframe?): void

Parameters
NameType
wrapperIAdvantageWrapper
adIframe?HTMLElement
Returns

void

Defined in

src/types/index.ts:67


description

description: string

Defined in

src/types/index.ts:60


name

name: string

Defined in

src/types/index.ts:59


reset

reset: (wrapper: IAdvantageWrapper, adIframe?: HTMLElement) => void

Type declaration

▸ (wrapper, adIframe?): void

Parameters
NameType
wrapperIAdvantageWrapper
adIframe?HTMLElement
Returns

void

Defined in

src/types/index.ts:66


setup

setup: (wrapper: IAdvantageWrapper, adIframe?: HTMLElement, options?: AdvantageFormatOptions) => Promise<void>

Type declaration

▸ (wrapper, adIframe?, options?): Promise<void>

Parameters
NameType
wrapperIAdvantageWrapper
adIframe?HTMLElement
options?AdvantageFormatOptions
Returns

Promise<void>

Defined in

src/types/index.ts:61


simulate

Optional simulate: (wrapper: IAdvantageWrapper) => void

Type declaration

▸ (wrapper): void

Parameters
NameType
wrapperIAdvantageWrapper
Returns

void

Defined in

src/types/index.ts:68