How to call "requestUpdate" for slotted children? #3798
Unanswered
egloffmark
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm not following what you're trying to do here 100%. Can you make a reproduction on https://lit.dev/playground? In general you should not need to call |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There, I am developing a "LitElement" which offers a
<slot>
to add some childrens. I call a passedload()
function where the Parent or user of my LitElements can update the childs. I noticed that I can not call simple "this.requestUpdate()" on my LitElement to update the slot, this has no influence. Rather I need to ensure that the Parent / User of my LitElement needs to call that by its ownI am wondering if I am doing this correctly or if there any other ways exists to notify / enforce that the slotted children have to call a render update?
Thank you in advance
in My LitElement "my-element"
In my View (Parent)
Beta Was this translation helpful? Give feedback.
All reactions