Skip to main content

Rating

Small rating component that shows the current rating for the book/affiliate managed in BAM admin.

Properties

PropertyAttributeDescriptionTypeDefault
affiliateaffiliatestringundefined
affiliateTypeaffiliate-typestringundefined
backgroundbackgroundThe background CSS value or use the value 'book' to use the book's default colorstringundefined
contextcontext(required)stringundefined
ctaTypecta-typestringundefined
deferdeferbooleanundefined
devModedev-modebooleanfalse
deviceTypedevice-type"android" | "desktop" | "ios" | "mobile"undefined
gameIdgame-idnumberundefined
internalIdinternal-idstringundefined
isBetsyncUseris-betsync-userbooleanundefined
isMobileis-mobilebooleanundefined
leagueleaguestringundefined
locationlocationstringundefined
paddingpaddingOverride the default padding with a CSS value. Default is '--bam-spacing-small --bam-spacing-medium'.stringundefined
pageSlugpage-slugstringundefined
placementIdplacement-id(required)numberundefined
propertyIdproperty-id(required)numberundefined
subdivisionsubdivisionnumberundefined
subscriptionTiersubscription-tier0 | 1 | 2 | 3undefined
wasProwas-probooleanundefined