Skip to main content

Inline Promo Block

Multiple inline promotions

Overview

Untitled

The inline promotion block functions similarly to the Promotion List, with some styling differences. The key distinction is that inline promotion blocks on a page with the same placement-id will share promotions and cycle through them. For example, List 1 may show promos 1, 2, 3, and List 2 may show promos 4, 5, 1, rotating back through the list. This limits repetitive promotions throughout a page. Since these are designed to loop through promotions, there is no "Expand" functionality with these lists. The max-length attribute determines the maximum length of the list and does NOT add the expand/collapse functionality.

// custom defined tag
<bam-inline-promotion-block
property-id="1"
placement-id="1"
context="context"
max-length="3">
</bam-inline-promotion-block>
SSR AvailableThis component is available for server side rendering.

Properties

PropertyAttributeDescriptionTypeDefault
affiliateaffiliatestringundefined
affiliateTypeaffiliate-typestringundefined
ageagenumberundefined
callback--You cannot pass this parameter via an attribute. You must set the callback function after the DOM has loaded.() => voidthis.defaultCallback
contextcontext(required)stringundefined
ctaTypecta-typestringundefined
darkModedark-modebooleanfalse
deferdeferbooleanundefined
devModedev-modebooleanfalse
deviceTypedevice-type"android" | "desktop" | "ios" | "mobile"undefined
gameIdgame-idnumberundefined
hideUnderagehide-underagebooleanfalse
internalIdinternal-idstringundefined
isBetsyncUseris-betsync-userbooleanundefined
isLoggedInis-logged-inbooleanundefined
isMobileis-mobilebooleanundefined
leagueleaguestringundefined
locationlocationstringundefined
maxLengthmax-lengthThis will determine the maximum number of promotions to display.numberundefined
moduleTitlemodule-titlestringundefined
pagepageOverrides the start index calculationnumberundefined
pageSlugpage-slugstringundefined
placementIdplacement-id(required)numberundefined
propertyIdproperty-id(required)numberundefined
restartrestartbooleanundefined
showContainershow-containerSetting this to false will hide the surrounding border, title, and location dropdownbooleantrue
sponsorSlugsponsor-slugstringundefined
subdivisionsubdivisionnumberundefined
subscriptionTiersubscription-tier0 | 1 | 2 | 3undefined
termsterms"affiliate" | "geo"'geo'
userParentBookIdsuser-parent-book-idsstringundefined
wasProwas-probooleanundefined