blinkSDK.showDonationModal()
Displays the donations panel in a modal dialog. This is similar to blinkSDK.promptDonationPopup(), but displays an additional panel before showing the login or donation form.
Calling this function will display the donations panel in a modal dialog. This panel contains configurable text, images and other website-specific branding, and a call-to-action button that starts the donations flow. Clicking the call-to-action button will seamlessly transform the contents of the modal dialog into a form.
- When the user is authenticated, it will display the donation form.
- When the user is not authenticated, it will display the login/signup form. After the user logs in (or signs up), the contents transforms into the donation form.
Usage
<body>
<button onclick="window.blinkSDK.showDonationModal()">Donate</button>
</body>
Signature
blinkSDK.showDonationModal()
Parameters
none
Returns
void