code: function generate(bind, el, param, value) {
    var div = element('div', {'class': BindClass});
  
    div.appendChild(element('span',
      {'class': NameClass},
      (param.name || param.signal)
    ));
  
    el.appendChild(div);
  
    var input = form;
    switch (param.input) {
      case 'checkbox': input = checkbox; break;
      case 'select':   input = select; break;
      case 'radio':    input = radio; break;
      case 'range':    input = range; break;
    }
  
    input(bind, div, param, value);
  }
docs: Generate an HTML input form element and bind it to a signal.