@get-advantage/advantage / types / AdvantageFormatOptions
Interface: AdvantageFormatOptions
types.AdvantageFormatOptions
Properties
adLabel
• Optional adLabel: string
Defined in
allowedOrigins
• Optional allowedOrigins: string[]
Defined in
autoCloseDuration
• Optional autoCloseDuration: number
The duration in seconds before the format closes automatically. If set to 0, the format will not close automatically.
Defult
12
Defined in
backgroundAdURL
• Optional backgroundAdURL: string
URL to the background ad. Only used in the Double Midscroll format. This is set from the foreground ad.
Defined in
closeButton
• Optional closeButton: boolean
Defined in
closeButtonAnimationDuration
• Optional closeButtonAnimationDuration: number
Defined in
closeButtonText
• Optional closeButtonText: string
Defined in
continueToLabel
• Optional continueToLabel: string
Can be used to customize the label of the continue to site
Defaul
Continue to
Defined in
dangerouslyAllowAllOrigins
• Optional dangerouslyAllowAllOrigins: boolean
Defined in
downArrow
• Optional downArrow: boolean
Defined in
height
• Optional height: number
Defined in
logo
• Optional logo: string
Logo file to display in Welcome page header bar, right before the continueToLabel. Accepts a path string to the image. If not set, current sites favicon will be displayed. If set to false, logo will be hidden.
Default
https://icons.duckduckgo.com/ip3/[hostname].icoDefined in
scrollBackToTop
• Optional scrollBackToTop: boolean
Defined in
sessionID
• Optional sessionID: string
Defined in
siteTitle
• Optional siteTitle: string | boolean
You can customize this item to replace the default site title. When set to false, title will be hidden. Useful when you have customize continueToLabel.
Default
window.location.hostname