@get-advantage/advantage / types / AdvantageFormatIntegration
Interface: AdvantageFormatIntegration
types.AdvantageFormatIntegration
Properties
close
• Optional
close: (wrapper
: IAdvantageWrapper
, adIframe?
: HTMLIFrameElement
| HTMLElement
) => void
Type declaration
▸ (wrapper
, adIframe?
): void
Parameters
Name | Type |
---|---|
wrapper | IAdvantageWrapper |
adIframe? | HTMLIFrameElement | HTMLElement |
Returns
void
Defined in
format
• format: string
Defined in
onClose
• Optional
onClose: (wrapper
: IAdvantageWrapper
, adIframe?
: HTMLIFrameElement
| HTMLElement
) => void
Deprecated
use close
Type declaration
▸ (wrapper
, adIframe?
): void
Parameters
Name | Type |
---|---|
wrapper | IAdvantageWrapper |
adIframe? | HTMLIFrameElement | HTMLElement |
Returns
void
Defined in
onReset
• Optional
onReset: (wrapper
: IAdvantageWrapper
, adIframe?
: HTMLIFrameElement
| HTMLElement
) => void
Deprecated
use reset
Type declaration
▸ (wrapper
, adIframe?
): void
Parameters
Name | Type |
---|---|
wrapper | IAdvantageWrapper |
adIframe? | HTMLIFrameElement | HTMLElement |
Returns
void
Defined in
options
• Optional
options: AdvantageFormatOptions
Defined in
reset
• Optional
reset: (wrapper
: IAdvantageWrapper
, adIframe?
: HTMLIFrameElement
| HTMLElement
) => void
Type declaration
▸ (wrapper
, adIframe?
): void
Parameters
Name | Type |
---|---|
wrapper | IAdvantageWrapper |
adIframe? | HTMLIFrameElement | HTMLElement |
Returns
void
Defined in
setup
• setup: (wrapper
: IAdvantageWrapper
, adIframe?
: HTMLIFrameElement
| HTMLElement
) => Promise
<void
>
Type declaration
▸ (wrapper
, adIframe?
): Promise
<void
>
Parameters
Name | Type |
---|---|
wrapper | IAdvantageWrapper |
adIframe? | HTMLIFrameElement | HTMLElement |
Returns
Promise
<void
>
Defined in
teardown
• Optional
teardown: (wrapper
: IAdvantageWrapper
, adIframe?
: HTMLIFrameElement
| HTMLElement
) => void
Type declaration
▸ (wrapper
, adIframe?
): void
Parameters
Name | Type |
---|---|
wrapper | IAdvantageWrapper |
adIframe? | HTMLIFrameElement | HTMLElement |
Returns
void