We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug
Including the <script> tag for the dojo button element before the element is referenced, as in this snippet:
<script>
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="output/dist/button-6.0.0-pre.css" /> <script src="output/dist/button-6.0.0-pre.js"></script> </head> <body> <dojo-button>Hello</dojo-button> </body> </html>
Will cause the text Hello to not be inserted correctly as a child element.
Moving the script tag to the bottom, as in:
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="output/dist/button-6.0.0-pre.css" /> </head> <body> <dojo-button>Hello</dojo-button> <script src="output/dist/button-6.0.0-pre.js"></script> </body> </html>
Results in the proper DOM structure.
Package Version: 6.0.0-alpha.1
Code
I just built the @dojo/widgets custom elements and put the previously posted html file(s) in the root.
Expected behavior:
Custom elements will be initialized correctly regardless of whether or not their script has been loaded first.
Actual behavior:
Custom elements are only initialized correctly if their script is loaded after the element has been used.
The text was updated successfully, but these errors were encountered:
maier49
Successfully merging a pull request may close this issue.
Bug
Including the
<script>
tag for the dojo button element before the element is referenced, as in this snippet:Will cause the text Hello to not be inserted correctly as a child element.
Moving the script tag to the bottom, as in:
Results in the proper DOM structure.
Package Version: 6.0.0-alpha.1
Code
I just built the @dojo/widgets custom elements and put the previously posted html file(s) in the root.
Expected behavior:
Custom elements will be initialized correctly regardless of whether or not their script has been loaded first.
Actual behavior:
Custom elements are only initialized correctly if their script is loaded after the element has been used.
The text was updated successfully, but these errors were encountered: