COMMUNITY

How to use "hxx" in tink_hxx lib?

how to use “hxx” in tink_hxx lib?

like this example ,I can’t find any documment to find ‘hxx’

import tink.hxx.*; //or something else @:magickeyword?

hxx('
  <Window title="Look, I made a window!">
    <p>In this window I have some super cool content!</p>
    <button>Not bad!</button>
    <button>This is lame!</button>
  </Window>
');

The library itself doesn’t define a hxx macro. It only implements all the parsing/code generation.

However, the tests contain the most simple example implementation, which you should get you started :wink: