CoCreate-domain

This plugin uses the attributes, based on the reseller documentation, for this case we will use a usage example to add a cname to a domain using reseller

Install

npm i @cocreate/domain

Or you can use cdn link:

<script>https://cdn.cocreate.app/domain/latest/CoCreate-domain.min.js</script>

Usage

This is domain usage

                                
<form realtime="true" id="customer-form" array="modules" >
	<input type="text" domain="domain-name" value="cocreatejs.com" placeholder="Domain Id" class="floating-label_field">
	<input type="text" domain="value" placeholder="Value" class="floating-label_field">
	<button class='cnameRecordBtn'>SendData Cname</button>
</form>
                                
                            

This is domain usage https://manage.resellerclub.com/kb/node/1092

Attributes only for the addCname example

  • domain string required

    domain-name

  • domain string optional

    value

  • domain string optional

    host

  • domain string optional

    ttl

Attributes are ignored as Cocreate takes care of them:

  • auth-userid
  • api-key

Demo