Inline Promo Block
Multiple inline promotions
Overview

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
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
affiliate | affiliate | string | undefined | |
affiliateType | affiliate-type | string | undefined | |
age | age | number | undefined | |
callback | -- | You cannot pass this parameter via an attribute. You must set the callback function after the DOM has loaded. | () => void | this.defaultCallback |
context | context | (required) | string | undefined |
ctaType | cta-type | string | undefined | |
darkMode | dark-mode | boolean | false | |
defer | defer | boolean | undefined | |
devMode | dev-mode | boolean | false | |
deviceType | device-type | "android" | "desktop" | "ios" | "mobile" | undefined | |
gameId | game-id | number | undefined | |
hideUnderage | hide-underage | boolean | false | |
internalId | internal-id | string | undefined | |
isBetsyncUser | is-betsync-user | boolean | undefined | |
isLoggedIn | is-logged-in | boolean | undefined | |
isMobile | is-mobile | boolean | undefined | |
league | league | string | undefined | |
location | location | string | undefined | |
maxLength | max-length | This will determine the maximum number of promotions to display. | number | undefined |
moduleTitle | module-title | string | undefined | |
page | page | Overrides the start index calculation | number | undefined |
pageSlug | page-slug | string | undefined | |
placementId | placement-id | (required) | number | undefined |
propertyId | property-id | (required) | number | undefined |
restart | restart | boolean | undefined | |
showContainer | show-container | Setting this to false will hide the surrounding border, title, and location dropdown | boolean | true |
sponsorSlug | sponsor-slug | string | undefined | |
subdivision | subdivision | number | undefined | |
subscriptionTier | subscription-tier | 0 | 1 | 2 | 3 | undefined | |
terms | terms | "affiliate" | "geo" | 'geo' | |
userParentBookIds | user-parent-book-ids | string | undefined | |
wasPro | was-pro | boolean | undefined |