-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use HTMLImports.whenReady for detecting HTML import loading
When using the v1 polyfills, Polymer depends on the load event for some internal bookkeeping. This means that we cannot start using an imported web component if our load listener is registered before Polymer's load listener. Instead, we can use the HTMLImports.whenReady callback since it's fired only after Polymer has had a chance to register everything. Fixes vaadin/flow-demo#203
- Loading branch information
Showing
1 changed file
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters