Replies: 2 comments 2 replies
-
|
Isn't the DOM limit 2k? Your one tree is taking up the general entire ODM memory capacity? Total DOM Elements | |
Beta Was this translation helpful? Give feedback.
-
|
The wa-expand and wa-collapse events bubble, so should arrive at the wa-tree ancestor. Does installing a single event listener at the wa-tree level not work? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm using a wa-tree with a considerable number of wa-tree-item (about 2k). I need to save expanded/collapsed state of each wa-tree-item (in localStorage), and in order to achieve that I need to add a expand/collapse event listener for each item.
What about having an event expanded/collapsed event at wa-tree level too? That would make things easier with only one event handler instead of one for each child.
Beta Was this translation helpful? Give feedback.
All reactions