Inline mode

By default, the widget runs in modal mode. To use the widget in inline mode, employ the setOptions method:

window.transactionlink.setOptions({
  inline: true // boolean,
  ...otherOptions
});

Note that the optimal way to use the widget in inline mode is to place the widget element inside a container with fixed width and height:

<div class="widget-wrapper">
    <div id="transactionlink-widget" />
</div>
.widget-wrapper {
  width: 100%;
  height: 100%;
}

This ensures proper rendering and display of the inline widget.

Last updated