daweilv / treejs

A lightweight tree widget, compatible with VanillaJS / React / Vue. Tiny size after gzip. Zero dependence.
MIT License
142 stars 49 forks source link

Optionally render node with HTML content #6

Open mattborja opened 4 years ago

mattborja commented 4 years ago

Basic support for rendering node with HTML label.

Example:

{
    "id": "1-0-1",
    "html": "node-1-0-1 <a href=\"#\">Hello, world!</a>",
},

Result:

image