Adi
Adi2y ago

Adi – 12-42 Jul 13

I am fetching CSS values from API response is it possible to load web component in browser once API call is made? i.e instead of adding below lines in constructor
this.shadowRoot.appendChild(style);
this.shadowRoot.appendChild(wrapper);
this.shadowRoot.appendChild(style);
this.shadowRoot.appendChild(wrapper);
can I append style and wrapper after API call is made? or is it mandatory to append in constructor only??
1 Reply
reactibot
reactibot2y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/996758577131823144 Question not getting answered? Maybe it's hard to answer, or maybe you asked at a slow time. Check out these resources for help asking a good question: https://stackoverflow.com/help/how-to-ask http://wp.me/p2oIwo-26