Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 7c60f7b

Browse files
fix(#33): emit youtube slide ready when width/height have been calculated
1 parent 2f84ab5 commit 7c60f7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/slides/deckdeckgo-slide-youtube/deckdeckgo-slide-youtube.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ export class DeckdeckgoSlideYoutube implements DeckdeckgoSlide {
2626
async componentDidLoad() {
2727
await DeckdeckgoUtils.hideLazyLoadImages(this.el);
2828

29-
this.slideDidLoad.emit();
30-
3129
this.initWindowResize();
3230

3331
await this.initFrameTitle();
3432

3533
await this.initSize();
34+
35+
this.slideDidLoad.emit();
3636
}
3737

3838
@Method()

0 commit comments

Comments
 (0)