title: How to convert a number into its respective letter in web component java script
body: <p>Hello a type text input that when writing a number writes the corresponding text one below the other
  example</p>
  <p>123 ..
  one
  two
  three
  ...</p>
  <p>111
  one
  one
  one
  ...
  825
  eight
  two
  five
  123
  one
  two
  three
  111
  one
  one
  one</p>
  <p>I base myself on that function but I don't know how to do it
  If someone could help me thank you very much</p>
  <pre><code>const tmp= document.createElement('template');
  tmp.innerHTML=`
      &lt;div&gt;
      
      
      &lt;input type=&quot;text&quot; placeholder=&quot;Tercer componente&quot; onkeyup=&quot;remplacenumber(this)&quot;  /&gt;
  
      &lt;label miPropiedad=&quot;&quot; /&gt;
  
      &lt;/div&gt;
  
  `;
  
  
  
  function remplacenumber(e){
      e.value = e.value.replace(/[1-1000]/g, &quot;&quot;)
    }
  
  
  class Numeros extends HTMLElement{
  
      
  
      constructor(){
          super();
           this._shadowRoot=this.attachShadow({'mode':'open'});   
  
      }
  
  }
  window.customElements.define('neo-numeros',Numeros)
  </code></pre>