- From: Jose Vargas <notifications@github.com>
- Date: Sun, 05 Mar 2023 21:30:08 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 6 March 2023 05:30:21 UTC
Someone suggested `requestAnimationFrame` to callback when `parser finished parsing children`.
```js
connectedCallback() {
window.requestAnimationFrame(()=>{
this.querySelectorAll("input") // or whatever chlidren-specific operation
})
}
```
is this a good solution? seems straightforward and ultra-simple.
Source:
https://github.com/WICG/webcomponents/issues/551#issuecomment-1424638706
--
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/809#issuecomment-1455481698
You are receiving this because you are subscribed to this thread.
Message ID: <WICG/webcomponents/issues/809/1455481698@github.com>
Received on Monday, 6 March 2023 05:30:21 UTC