dromo-uploader-js
v2.1.7
Published
Easy to use data (CSV, TSV, Excel) importer
Downloads
22,983
Readme
dromo
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: "[email protected]",
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>