π»InitPoodlApp
Add the Poodl White Label to a plain HTML website.
Setup
<script src="https://cdn.jsdelivr.net/npm/@poodl/widget@latest/bundles/poodl-app.min.js"></script><div id="poodl-root" style="min-height:420px"></div>InitPoodlApp("poodl-root", {}); // second parameter is optional config objectSummary
<!DOCTYPE html>
<html lang="en">
<head>
<title>Poodl Widget Demo</title>
<script src="https://cdn.jsdelivr.net/npm/@poodl/widget@latest/bundles/poodl-app.min.js"></script>
<script>
window.onload = () => {
InitPoodlApp("poodl-root");
};
</script>
</head>
<body>
<div id="poodl-root" style="min-height:420px"></div>
</body>
</html>Last updated