UNPKG

@cocreate/domain

Version:

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

35 lines (30 loc) 1.06 kB
<!DOCTYPE html> <html lang="en"> <head> <title>Domain Customer | Canme record</title> </head> <body> <h1>DKIM1</h1> <form style="margin: 1em 0em"> <input domain="executeAction.id" value="id-two" /> <button actions="executeAction">Excuete1</button> </form> <h1>DKIM2</h1> <form style="margin: 1em 0em"> <input domain="executeAction.id" value="id-three" /> <button id="id-two" actions="executeAction">exce2</button> </form> <h1>Cname</h1> <form style="margin: 1em 0em"> <input type="text" domain="cnameRecord.domain-name" value="cocreatejs.com" placeholder="Domain Id" class="floating-label" /> <button id="id-three" actions="cnameRecord">Exce3</button> </form> <!--CoCreateJS--> <script src="https://CoCreate.app/dist/CoCreate.js"></script> </body> </html>