Top Ten
Show a list of promotions with the top 3 being highlighted.
Overview

This component is designed to show a top ten (by default) of promos from a placement with the top 3 being highlighted in vertical cards.
max-length is 10 by default, but can be modified, but no less than 3.
Overview
// custom defined tag
<bam-top-ten
id="inline1"
class="bam-block"
dev-mode="true"
placement-id="1"
property-id="1"
location="CO"
context="new-york-post-right-rail">
</bam-top-ten>
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 | 10 |
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 | |
reviewContext | review-context | string | 'review-link' | |
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 |