Skip to content

@get-advantage/advantage / types / AdvantageConfig

Interface: AdvantageConfig

types.AdvantageConfig

Properties

configUrlResolver

Optional configUrlResolver: () => string

Type declaration

▸ (): string

Returns

string

Defined in

src/types/index.ts:25


formatIntegrations

Optional formatIntegrations: AdvantageFormatIntegration[]

Defined in

src/types/index.ts:27


formats

Optional formats: AdvantageFormat[]

Defined in

src/types/index.ts:26


messageValidator

Optional messageValidator: (parentElement: HTMLElement | IAdvantageWrapper, message: MessageEvent<any>) => boolean

Type declaration

▸ (parentElement, message): boolean

Parameters
NameType
parentElementHTMLElement | IAdvantageWrapper
messageMessageEvent<any>
Returns

boolean

Defined in

src/types/index.ts:28