Recirc Logo
Horizontal stack of book logos
Overview
This component shows a predetermined number of book logos from a placement. By default, each logo will link to the book (link associated with the promo). If you do not want this behavior, set link="false" to turn off linking.
By default, each logo has a 3px black border. To make the border white, set dark-mode="true" and the border will be white.
<bam-recirc-logo
id="inline1"
class="bam-inline-promotion-block"
dev-mode="true"
placement-id="1"
property-id="1"
location="CO"
max-length="4"
context="new-york-post-right-rail"
dark-mode="true">
</bam-recirc-logo>
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
adId | ad-id | Used to set the advertiser id on Android for when this component is used in a webview on a native app | string | undefined |
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 |
countryCode | country-code | 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 | |
link | link | boolean | true | |
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 | false | |
sponsorSlug | sponsor-slug | string | undefined | |
subdivision | subdivision | number | undefined | |
subscriptionTier | subscription-tier | 0 | 1 | 2 | 3 | undefined | |
userParentBookIds | user-parent-book-ids | string | undefined | |
wasPro | was-pro | boolean | undefined |