-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When is slotchange
handler fired?
#515
Comments
It's difficult to explain briefly here. |
|
@rniwa How can a distributed node then run some code after I would really like to detect when the tree looks like this:
and I need that distributed |
I don't follow what you're saying. |
@rniwa Yep, that's exactly what I'm saying: that there's no way for a distributed node to know about being distributed because only the parent of the slot or slot itself can work with |
When is
slotchange
handler fired in the following case?B
's inner tree, and finally theslotchange
event handlers are called. Will theslotchange
handlers be called in the same tick as when A'sconnectedCallback
is called? If so, then with this knowledge I may be able to deferr a to a future tick in order to catch the case that a parentmotor-node
has not made a connection with a distributedmotor-node
. DoesattachedCallback
get called before or afterslotchange
handlers? If after, then I may not even need to defer to a future tick.The text was updated successfully, but these errors were encountered: