We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
idea from: WICG/webcomponents#782 The DCE would be initialized only on actual tag use.
accept values:
declare
use
would:
Advanced phases:
default
progress
error
load-error
<custom-element scr="mod" tag="my-tag" load-on="use"> <template> <slot> Wait my-tag to be loaded ... </slot> <slot name="error"> my-tag load error </slot> </template> </custom-element>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
idea from: WICG/webcomponents#782
The DCE would be initialized only on actual tag use.
load-on attribute
accept values:
declare
or default value would load during declaration, disregarding of useuse
would create a facade which would load DCE when it is actually used. Of course only once.facade pattern
would:
Advanced phases:
default
slot is shown immediatelyprogress
is shown when DCE is started to load but does not have a rendered content yeterror
- for whatever error reasonload-error
when DCE sources are not availableThe text was updated successfully, but these errors were encountered: