Skip to content

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

ParameterTypeDescriptionRequired
classStringMust include qliro-banner.required
data-methodEnumThe payment method shown in the banner. One of [CAMPAIGN, INVOICE, PART_PAYMENT]. Default value is CAMPAIGN.
data-colorEnumThe color theme of the banner. Always mint.
data-shadowBooleanWhether 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>