Properties
buttons
buttons: { acceptAll: { label: string }; denyAll: { isEnabled: boolean; label: string }; save: { label: string }; showSecondLayer: { isEnabled: boolean; label: string; url: string | null } }
Type declaration
-
acceptAll: { label: string }
-
denyAll: { isEnabled: boolean; label: string }
-
isEnabled: boolean
-
label: string
-
save: { label: string }
-
showSecondLayer: { isEnabled: boolean; label: string; url: string | null }
-
isEnabled: boolean
-
label: string
-
url: string | null
customization
customization
: { color
: { primary
: string }; font
: { family
: string; size
: number }; theme
: THEME }
Type declaration
-
color: { primary: string }
-
font: { family: string; size: number }
-
family: string
-
size: number
-
firstLayer
first
Layer: { description: { default: string; short: string | null }; isCategoryTogglesEnabled: boolean; isOverlayEnabled: boolean; title: string; variant: FIRST_LAYER_VARIANT }
Type declaration
-
description: { default: string; short: string | null }
-
default: string
-
short: string | null
-
isCategoryTogglesEnabled: boolean
-
isOverlayEnabled: boolean
-
title: string
-
language
language: { available: string[]; isSelectorEnabled: boolean; selected: string }
Type declaration
-
available: string[]
-
isSelectorEnabled: boolean
-
selected: string
links
links: { cookiePolicy: { label: string; url: string | null }; imprint: { label: string | null; url: string | null }; privacyPolicy: { label: string; url: string | null } }
Type declaration
-
cookiePolicy: { label: string; url: string | null }
-
label: string
-
url: string | null
-
imprint: { label: string | null; url: string | null }
-
label: string | null
-
url: string | null
-
privacyPolicy: { label: string; url: string | null }
-
label: string
-
url: string | null
poweredBy
poweredBy: { isEnabled: boolean; label: string; partnerUrl: string | null; partnerUrlLabel: string | null; url: string; urlLabel: string }
Type declaration
-
isEnabled: boolean
-
label: string
-
partnerUrl: string | null
-
partnerUrlLabel: string | null
-
url: string
-
urlLabel: string
privacyButton
privacyButton: { isEnabled: boolean }
secondLayer
second
Layer: { description: string; isOverlayEnabled: boolean; tabs: { categories: { isEnabled: boolean; label: string }; services: { isEnabled: boolean; label: string } }; title: string; variant: SECOND_LAYER_VARIANT }
Type declaration
-
description: string
-
isOverlayEnabled: boolean
-
tabs: { categories: { isEnabled: boolean; label: string }; services: { isEnabled: boolean; label: string } }
-
categories: { isEnabled: boolean; label: string }
-
isEnabled: boolean
-
label: string
-
services: { isEnabled: boolean; label: string }
-
isEnabled: boolean
-
label: string
-
title: string
-
If the url is null, open up the second layer (i.e. modal). If the url exists, open link in new tab.