Files
formbricks/packages/pmfWidget/test.html

36 lines
1016 B
HTML

<head>
<script src="./dist/index.umd.js" charset="UTF-8" defer></script>
<script>
window.formbricksPmf = {
...window.formbricksPmf,
config: {
formbricksUrl: "http://localhost:3000",
formId: "cldbru2nu000s19t6mtc4bhk4",
containerId: "test-div",
contact: {
name: "Peer",
position: "Co-Founder",
imgUrl: "https://avatars.githubusercontent.com/u/8019099?v=4",
},
customer: {
id: "test@cal.com",
name: "Test Customer",
email: "test@cal.com",
},
/* style: {
brandColor: "#0E1420",
headerBGColor: "#E5E7EB",
headerTitleColor: "#4B5563",
boxBGColor: "#F9FAFB",
textColor: "#374151",
buttonHoverColor: "#F3F4F6",
}, */
},
};
</script>
</head>
<body style="background-color: #ccc">
<div id="test-div" style="background-color: #fff; width: 40rem; height: 30rem"></div>
<button>Test</button>
</body>