Banner widget
Overview
The banner widget shows Qliro payment methods and campaigns. You do not need to update the banners by hand. The parameters set the payment method and the color theme.

How to
To use the banner, add a div with the class qliro-banner and the data attributes you need. The widgets script fills the div when the script loads, or when you call window._qliroWidgets().
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| class | String | Must include qliro-banner. | required |
| data-method | Enum | The payment method shown in the banner. One of [CAMPAIGN, INVOICE, PART_PAYMENT]. Default value is CAMPAIGN. | |
| data-color | Enum | The color theme of the banner. Always mint. | |
| data-shadow | Boolean | Whether the banner renders with a Qliro style shadow. Default is false. |
Example
<div class="qliro-banner" data-method="CAMPAIGN" data-color="mint" data-shadow></div>