le-dynamic"></div><script>var tree = new hx.Tree('#example-dynamic', {
  renderer: function (elem, data) { hx.select(elem).html(data.name) },
  items: [
    {
      name: 'Parent 1',
      children: [
        {
          name: 'Item 1'
        },
        {
          name: 'Parent 2',
          children: [
            {
              name: 'Item 2'
            }
          ]
        }
      ]
    }
  ]
})</script></div><div class="docs-example-code-body"><div class="example-code-section"><h3>HTML</h3><div cla