Ambassador
Ce contenu n’est pas encore disponible dans votre langue.
Ambassador(
props):Element
Defined in: vendor/wallet/sdk/components/src/components/Ambassador/Ambassador.tsx:257
Full-page ambassador: hero, reward, explainer, win-win, referral, store, FAQ;
isHidden alone suppresses it. Theme it with the twenty-two --frak-amb-*
properties, which outrank the sampled host theme; classes are best-effort.
Parameters
Section titled “Parameters”attributionBeforeLink?
Section titled “attributionBeforeLink?”string
Override the attribution text before the frak.id anchor.
attributionLinkText?
Section titled “attributionLinkText?”string
Override the attribution anchor’s text.
classname?
Section titled “classname?”string
CSS class names passed through to the root element (Light DOM).
explainerLede?
Section titled “explainerLede?”string
Override the explainer lede under the heading.
explainerTitle?
Section titled “explainerTitle?”string
Override the explainer region heading. Use {BRAND} for the merchant name.
faq1Answer?
Section titled “faq1Answer?”string
Override the first FAQ answer.
faq1Question?
Section titled “faq1Question?”string
Override the first FAQ question.
faq2Answer?
Section titled “faq2Answer?”string
Override the second FAQ answer.
faq2Question?
Section titled “faq2Question?”string
Override the second FAQ question.
faq3Answer?
Section titled “faq3Answer?”string
Override the third FAQ answer; used only when the campaign rewards the friend.
faq3Question?
Section titled “faq3Question?”string
Override the third FAQ question.
faq4Answer?
Section titled “faq4Answer?”string
Override the fourth FAQ answer.
faq4Question?
Section titled “faq4Question?”string
Override the fourth FAQ question.
faq5AnswerAfterLink?
Section titled “faq5AnswerAfterLink?”string
Override the fifth FAQ answer text after the frak.id anchor.
faq5AnswerBeforeLink?
Section titled “faq5AnswerBeforeLink?”string
Override the fifth FAQ answer text before the frak.id anchor.
faq5AnswerLinkText?
Section titled “faq5AnswerLinkText?”string
Override the frak.id anchor’s text inside the fifth FAQ answer.
faq5Question?
Section titled “faq5Question?”string
Override the fifth FAQ question.
faqHeading?
Section titled “faqHeading?”string
Override the FAQ region heading.
heroCtaLabel?
Section titled “heroCtaLabel?”string
Override the hero call-to-action label.
heroEyebrow?
Section titled “heroEyebrow?”string
Override the hero eyebrow above the headline.
heroFacesCaption?
Section titled “heroFacesCaption?”string
Override the hero faces caption under the hero CTA.
heroImageAlt?
Section titled “heroImageAlt?”string
Override the hero image’s alt text. Use {BRAND} for the merchant name.
heroImageUrl?
Section titled “heroImageUrl?”string
Hero photo, shown in a 4:5 frame; without one the frame collapses around the reward card.
heroLede?
Section titled “heroLede?”string
Override the hero lede paragraph. Use {BRAND} for the merchant name.
heroRewardCaption?
Section titled “heroRewardCaption?”string
Override the hero reward-tag caption next to the amount.
heroRewardRefereePill?
Section titled “heroRewardRefereePill?”string
Override the hero referee pill; rendered only when a referee reward resolves.
heroTitle?
Section titled “heroTitle?”string
Override the hero headline. {REWARD} marks the amount; an override using it
gives way to the default headline while no fixed amount resolves.
merchantId?
Section titled “merchantId?”string
Override the merchant ID resolved from the SDK config. The store badges’ install URL is built from it.
myRewardsClaimCtaLabel?
Section titled “myRewardsClaimCtaLabel?”string
Override the claim button label. {REWARD} marks the pending amount.
myRewardsEyebrow?
Section titled “myRewardsEyebrow?”string
Override the eyebrow of the “Your rewards” section shown to a visitor with an unclaimed reward.
myRewardsLinkedHeading?
Section titled “myRewardsLinkedHeading?”string
Override the heading of the section shown to a linked visitor. Use {BRAND} for the merchant name.
myRewardsShareAgainCtaLabel?
Section titled “myRewardsShareAgainCtaLabel?”string
Override the share button label shown to a linked visitor.
myRewardsShareCtaLabel?
Section titled “myRewardsShareCtaLabel?”string
Override the share button label under the claim button.
myRewardsWalletCtaLabel?
Section titled “myRewardsWalletCtaLabel?”string
Override the label of the button opening the Frak wallet, shown to a linked visitor.
referralCtaLabel?
Section titled “referralCtaLabel?”string
Override the referral block’s share-button label.
referralHeading?
Section titled “referralHeading?”string
Override the referral block heading.
referralLede?
Section titled “referralLede?”string
Override the referral block’s share sentence.
rewardCtaLabel?
Section titled “rewardCtaLabel?”string
Override the reward region call-to-action label.
rewardEstimateCaption?
Section titled “rewardEstimateCaption?”string
Override the estimate caption under the reward heading.
rewardEyebrow?
Section titled “rewardEyebrow?”string
Override the reward region eyebrow.
rewardFallbackLabel?
Section titled “rewardFallbackLabel?”string
Override the amount wording shown when no reward resolves.
rewardFooterCaption?
Section titled “rewardFooterCaption?”string
Override the free/no-commitment caption under the reward CTA.
rewardHeading?
Section titled “rewardHeading?”string
Override the reward heading; {REWARD} marks the amount, as for heroTitle.
rewardLede?
Section titled “rewardLede?”string
Override the reward region lede.
rewardNoBankDetails?
Section titled “rewardNoBankDetails?”string
Override the no-bank-details clause appended to the reward footer caption.
step1Description?
Section titled “step1Description?”string
Override the first step’s description.
step1ImageAlt?
Section titled “step1ImageAlt?”string
Override the first step image’s alt text. Defaults to the step title.
step1ImageUrl?
Section titled “step1ImageUrl?”string
Override the first step’s image URL. Falls back to the step number.
step1Title?
Section titled “step1Title?”string
Override the first step’s title (rendered as an h3).
step2Description?
Section titled “step2Description?”string
Override the second step’s description; used only when the campaign rewards the friend.
step2ImageAlt?
Section titled “step2ImageAlt?”string
Override the second step image’s alt text. Defaults to the step title.
step2ImageUrl?
Section titled “step2ImageUrl?”string
Override the second step’s image URL. Falls back to the step number.
step2Title?
Section titled “step2Title?”string
Override the second step’s title (rendered as an h3).
step3Description?
Section titled “step3Description?”string
Override the third step’s description.
step3ImageAlt?
Section titled “step3ImageAlt?”string
Override the third step image’s alt text. Defaults to the step title.
step3ImageUrl?
Section titled “step3ImageUrl?”string
Override the third step’s image URL. Falls back to the step number.
step3Title?
Section titled “step3Title?”string
Override the third step’s title (rendered as an h3).
storeAppBadgeAriaLabel?
Section titled “storeAppBadgeAriaLabel?”string
Override the App Store badge’s accessible name.
storeHeading?
Section titled “storeHeading?”string
Override the store block heading. While a reward waits to be claimed it defaults to “Claim your {REWARD} in the app”; the block is hidden for linked visitors.
storeLede?
Section titled “storeLede?”string
Override the store block lede under the heading.
storePlayBadgeAriaLabel?
Section titled “storePlayBadgeAriaLabel?”string
Override the Google Play badge’s accessible name.
storeQrCaption?
Section titled “storeQrCaption?”string
Override the store QR code’s visible caption.
storeQrLabel?
Section titled “storeQrLabel?”string
Override the store QR code’s accessible name.
winWinCard1Description?
Section titled “winWinCard1Description?”string
Override the referrer card’s description.
winWinCard1Title?
Section titled “winWinCard1Title?”string
Override the referrer card’s label in the win-win region.
winWinCard2Description?
Section titled “winWinCard2Description?”string
Override the friend card’s description.
winWinCard2Title?
Section titled “winWinCard2Title?”string
Override the friend card’s label in the win-win region.
winWinHeading?
Section titled “winWinHeading?”string
Override the win-win region heading.
winWinLede?
Section titled “winWinLede?”string
Override the win-win region lede. Use {BRAND} for the merchant name.
Returns
Section titled “Returns”Element
Example
Section titled “Example”`<frak-ambassador></frak-ambassador>`