Skip to main content
Controls whether the claim call to action is clickable. Set it to false to turn off and gray out the claim button while still showing the offer.

Structure

When to use it

Turn it off when a claim would fail or conflict for reasons only your app knows, and showing the offer unavailable beats hiding it:
  • The user is mid-checkout in one of your own flows.
  • Their account is in a state the advertiser rejects.
  • You are running a maintenance window on your side of the integration.

Behavior

The flag is read when the sheet is built, so it applies from the next show() onward. Assigning it while a sheet is on screen does not change the sheet in front of the user.

Marking up your own claim button

If you supply your own claim button through the claimButton appearance slot, the SDK still owns whether it acts, and turning this flag off makes your element unavailable along with everything else. It cannot carry the native disabled attribute, because that attribute only means something on a <button> and your element is mounted inside a role="button" host. The host carries aria-disabled="true" instead and leaves the tab order, so assistive technology and keyboard users get the same answer as everyone else. If you style the unavailable state yourself, target both forms:
  • placement(): the sheet this gate applies to.
  • show(): the result contract, which this flag does not change.
  • Advanced UI: supplying your own claim button, which this gate still applies to.