Promise that resolves when the handshake is completed between Flatfile.io and the adapter
Call close() from the parent window in order to hide the importer. You can do this after handling the import callback so your users don't have to click the confirmation button
This will display a dialog inside of the importer with an error icon and the message you pass. The user will be able to acknowledge the error and be returned to the import data spreadsheet to ideally fix any issues or attempt submitting again.
This will display a progress indicator inside the importer if you anticipate that handling the output of the importer may take some time.
This will display a dialog inside of the importer with a success icon and the message you pass.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
This will fetch the data from the importer
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Use load() when you want a promise returned. This is necessary if you want to use async/await for an es6 implementation
Add a listener for a given event.
Add a one-time listener for a given event.
Call open() to activate the importer overlay dialog.
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Use requestDataFromUser() when you want a promise returned. This is necessary if you want to use async/await for an es6 implementation
Set the customer information for this import
This will by default always be
https://www.flatfile.io/importer/:key unless you are
an enterprise customer that is self-hosting the application. In which case, this
will be the URL of your enterprise installd Flatfile importer index page
Generated using TypeDoc