How to access tree data in custom TUI_TREE_CONTENT components? #11390
Unanswered
erzenhaxhi
asked this question in
Q&A
Replies: 2 comments
-
Try |
Beta Was this translation helpful? Give feedback.
0 replies
-
Example of that: Example of what |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a custom tree node component using the
TUI_TREE_CONTENT
token, but I cannot access the actual tree data (thevalue
passed totui-tree
) within my custom component. The component only receivesTuiTreeItemContext
which contains the tree item component instance and template, but not the tree data itself.Beta Was this translation helpful? Give feedback.
All reactions