how to force getChildren event to fire
See original GitHub issueangular2-tree-component:^3.1.0
After moving a node into the collapse node, I click this collapse node that can’t fire getChildren
event.
-
Although this node property
hasChildren
is true and this node still has other sub nodes. I want to click this collapse node to firegetChildren
event and fetch all sub node data. -
if I use
to.parent.loadChildren
, when click this collapse node, these sub nodes can be displayed, but when i move one of these sub nodes to other node, this collapse node displaysloading
and never finished, at this time, the input node source data of has updated
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
how to force getChildren event to fire · Issue #369 - GitHub
I want to click this collapse node to fire getChildren event and fetch all sub node data. if I use to.parent.loadChildren , when...
Read more >How to have click event ONLY fire on parent DIV, not children?
If the e.target is the same element as this , you've not clicked on a descendant. $('.foobar').on('click', function(e) { if (e.target !== this)...
Read more >How to press right click 3 times to fire event? - Scripting Support ...
PlayersAndMobs for i,v in pairs(ws:GetChildren()) do -- look through all the workspace if ... lookVector * 45 + Vector3.new(0,7,10) -- the force game....
Read more >JavaScript dispatchEvent(): Generate Events programmatically
First, create a new Event object using Event constructor. · Then, trigger the event using element.dispatchEvent() method.
Read more >Basic fire escape planning > Whiteman Air Force Base > Article ...
This is a great way to get children involved in fire safety in a non-threatening way. ... to assist them in the fire...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ho Ho Finalxcode!
I had a similar issue where the children property of my node object was initialized with empty array.
When I set properties hasChildren to true and children to undefined, angular-tree-component started to call getChildren.
Is it help?
Closing this issue due to inactivity. Please open a new issue if the problem still exists.