Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨[amp-story-player] Upgrading amp-story-player to CE (#27320)
* upgrade to CEv1, move ctor to init, change from onload to load listener * add viewpoer meta tag to sample * failing test * fix tests * expand comment on tests * call connectedCallback() instead of init * fix test * change to suffix underscore for convention * rely on connectedCallback rather than calling build + layout manaully * prettier parens * Revert "change to suffix underscore for convention" This reverts commit 3118d00c06085d325f1c40d5a3d462e3f24e70e9. * call buildcallback & layoutWHenVisible from connectedCallback, making each player responsible to call them individually.
- Loading branch information
Showing
5 changed files
with
72 additions
and
80 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
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
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
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
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