@alma/widgets
TypeScript icon, indicating that this package has built-in type declarations

3.3.11 • Public • Published

Alma Widgets

Changelog

View all Changelog

Setup

Add the widget to your page

CSS
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@alma/widgets@3.x/dist/widgets.min.css" />
JS
<script src="https://cdn.jsdelivr.net/npm/@alma/widgets@3.x/dist/widgets.umd.js"></script>

Create the container

<div id="alma-widget"></div>

Initialize the widget

<script>
  ;(function () {
    var widgets = Alma.Widgets.initialize('<YOUR MERCHANT ID>', Alma.ApiMode.LIVE)
    widgets.add(Alma.Widgets.PaymentPlans, {
      container: '#alma-widget',
      purchaseAmount: 45000,
    })
  })()
</script>

Going further

read the full documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @alma/widgets

Weekly Downloads

1,274

Version

3.3.11

License

MIT

Unpacked Size

6.04 MB

Total Files

80

Last publish

Collaborators

  • ncordin.alma
  • gautier-lab-alma
  • franceberut
  • olance
  • klea
  • taskim_