dromo-uploader-js
TypeScript icon, indicating that this package has built-in type declarations

2.0.20 • Public • Published

npm version

You can view a live demo here

Install

To get add Dromo to your own project:

npm install --save dromo-uploader-js

Usage

Check out our developer documentation here

<script type="text/javascript">
  const fields = [
    { 
      label: "Name", 
      key: "name" 
    },
    {
      label: "Email",
      key: "email_address"
    }
  ];

  const settings = {
    importIdentifier: "Contacts"
  };

  const user = {
    id: "1",
    name: "Jane Doe",
    email: "jane@dromo.io",
    companyId: "Dromo",
    companyName: "12345"
  }

  const dromo = new DromoUploader("LICENSE_KEY", fields, settings, user);

  dromo.onResults(function (response) {
    // Do something with the data here
    return "Done!";
  });
</script>

<div id="root">
  <button onclick="dromo.open()">Open Dromo</button>
</div>

Readme

Keywords

none

Package Sidebar

Install

npm i dromo-uploader-js

Weekly Downloads

3,679

Version

2.0.20

License

MIT

Unpacked Size

255 kB

Total Files

9

Last publish

Collaborators

  • ankitgoyal100