/span> element.selectAll(<span class="hljs-string">'input'</span>).map(<span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">sel</span>) </span>{
      <span class="hljs-keyword">return</span> sel.attr(<span class="hljs-string">'name'</span>) + <span class="hljs-string">': '</span> + sel.value()
    })
  }
}

<span class="hljs-comment">// Register the component against the element</span>
hx.component.register(element.node(), api)

<span class="hljs-comment">// Cal