add a way for content to not be displayed until async assets (f.e. link elements) are loaded.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 187
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
FUOC is something that people generally wish they didn't have to deal with. To make things easier, perhaps we can add an option that will automatically keep content hidden until async content in a element's ShadowRoot has finished loading.
What we may need is some sort of convention for all elements to follow. For example, maybe elements specify a list of the elements (from their template) that load stuff, then the base Element class can wait for `load` events on all of them, and finally emit a `load` event on the owning element. This setup then allows any higher-up elements to do the same thing, and so on.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the base Element class and how elements define or access content in their ShadowRoot. Determine a convention for identifying asynchronously loading elements, waiting for their load events, and propagating a load event to the owning element; done means content remains hidden until those assets finish loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100