HTML & JS Embed
If you are using a (currently) unsupported client framework, you can use our embedded script. This will show the Widget inside an iframe.
Add Script
<script type="text/javascript" src="https://embed.impler.io/embed.umd.min.js" async></script>Add Import Button
<button disabled id="impler-btn">
Import
</button>Initialize Widget
<script type="text/javascript">
let uuid = generateUuid();
let isImplerInitialized = false;
const ImplerBtn = document.getElementById("impler-btn");
function generateUuid() { // (1)
return window.crypto.getRandomValues(new Uint32Array(1))[0];
}
window.onload = (e) => {
if (window.impler) {
window.impler.init(uuid); // (2)
const readyCheckInterval = setInterval(() => {
if (window.impler.isReady()) { // (3)
clearInterval(readyCheckInterval);
ImplerBtn.removeAttribute("disabled"); // (4)
}
}, 1000);
...
}
}
</script>Show Widget
Customize Texts
Listening to Events
type
value
Description
Complete Code Example
Data Seeding in Sample File
Advanced Validations
Providing Runtime Schema
Passing Extra Parameters
Changing Import Title
Programmatically Closing the Import Widget
Changing Theme Color
Providing Authentication Header Value
Last updated
Was this helpful?