UNPKG

@cocreate/domain

Version:

A simple domain component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.

50 lines (40 loc) 1.64 kB
<!DOCTYPE html> <html lang="en"> <head> <title>Domain Customer | txt record</title> <head> <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.current-value" placeholder="current-value" class="floating-label" /> <input type="text" domain="txtRecord.new-value" placeholder="new-value" 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> <!--CoCreateJS--> <!--CoCreate Plugins--> <!--<script src="../../dist/CoCreate-domain.js"></script> --> <script src="https://CoCreate.app/dist/CoCreate.js"></script> </head> </head> </html>