Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Installation

Through npm

npm install --save @ambita/infoland-components

Through cdn

<!DOCTYPE html>
<html>
<head>
  <title>Page Title</title>
  <script src="https://static.ambita.com/infoland-components/components.umd.js"></script>
</head>
<body>
  ...
</body>
</html>

Usage

Ambita.Infoland.init({
  element: '#app',
  category: 'realtestate',
  token: 'Bearer ' + accessToken, // or tokenObject if you have that available
  externalDepartmentId: 1234567, // for some customers only
  reference: 'some-reference-that-will-show-up-on-the-invoice',
  technicalReference: 'some-technical-reference-to-the-assignment-or-project-in-your-application'
  onOrderConfirmed: (order) => {
    console.log(order)
  }
});

  • No labels