all into the component api to get the value</span>
hx.select(<span class="hljs-string">'#click-button'</span>).on(<span class="hljs-string">'click'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params"></span>) </span>{
  data = element.component().data()
  hx.notify.info(data[<span class="hljs-number">0</span>])
  hx.notify.info(data[<span class="hljs-number">1</span>])
})</code></pre></div></div></div></div></div> </div></div></div><div class="qm-docs-to