Versions Compared
Version | Old Version 7 | New Version 8 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Introduction
Write a lot about the components here
Installation
Through npm
Code Block | ||
---|---|---|
| ||
npm install --save @ambita/infoland-components |
Through cdn
Code Block |
---|
<!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
Code Block |
---|
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) } }); |