@cocreate/domain
Version:
A simple domain component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.
40 lines (33 loc) • 1.33 kB
HTML
<html lang="en">
<head>
<title>Domain Customer | txt record</title>
<link rel="manifest" href="/manifest.webmanifest" />
</head>
<body>
<h1>Add txt RECORD to Domain</h1>
<form realtime="true" id="customer-form" array="modules">
<!--
domain-name
value String -->
<input
type="text"
domain="txtRecord.domain-name"
value="cocreatejs.com"
placeholder="Domain Id"
class="floating-label" />
<input
type="text"
domain="txtRecord.value"
placeholder="Value TXT"
class="floating-label" />
<!--
<input type="text" object="5debebdd189f212c8ebd0156" key="customer-id" id="customer-id" domain="customer-id" placeholder="Id customer" class="floating-label">
<input type="text" object="5debebdd189f212c8ebd0156" key="contact-id" id="contact-id" placeholder="Contact ID" class="floating-label">
-->
<button actions="txtRecord">SendData txt</button>
</form>
<!--<script src="../../dist/CoCreate-domain.js"></script>-->
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
</body>
</html>