Getting Started

  1. Download the latest release and include it on your page:
    <script src="./regate/RegateText-0.16.2.js"></script>
  2. Put a container element on the page:
    <div id="basic-example-container"></div>
  3. Insert the component markup:
    document.getElementById('basic-example-container').innerHTML
        = Regate.RegateText.markup('basic-example')
  4. Initialize the component:
    Regate.RegateText.init({
      id: 'basic-example',
      name: 'Title',
    })