JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Smart Tree dataset attributes › Reply To: Smart Tree dataset attributes
March 5, 2024 at 12:47 pm
#109921
Keymaster
Hi,
You can use document.querySelectorAll(‘smart-tree-item’); and loop through the collection of nodes
const items = document.querySelectorAll('smart-tree-item');
[].forEach.call(items, function(item) {
// do whatever
});
Regards,
Markov