unovue / radix-vue

Vue port of Radix UI Primitives. An open-source UI component library for building high-quality, accessible design systems and web apps.
https://radix-vue.com
MIT License
3.73k stars 233 forks source link

[Feature]: Tree: allow async function for get-children #1379

Open haexhub opened 1 month ago

haexhub commented 1 month ago

Describe the feature

Hi,

it would be nice, if we could use an async function to retrieve children items of the tree component. For example, I want to use this component to show a directory structure of an S3 bucket. To get the child directories I need to do an async http request, which I would like to use as the get-children function. But thats not possible at the moment. Would be great if it will be some day :smi

Additional information