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

Support for adding tree in shadowRoot #35

Open shubham-0819 opened 6 months ago

shubham-0819 commented 6 months ago

Hi, I want to use treejs in my web-component but the initialisation of tree is done by providing a query selector input( container ). but this query over entire document. If the container input for attaching tree could be a HTMLElement or a string( for query selector input ) then i could attach it in my web component.