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

Commit 579ada8

Browse files
doc(#56): add a new slot content on the youtube slide in documentation
1 parent a0fcb18 commit 579ada8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docs/slides/app-slide-youtube/app-slide-youtube.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The "Youtube" slide's Web Component could be integrated using the tag `<deckgo-s
3737

3838
### Slots
3939

40-
The slot `title` and `content` are optional. The slot `content` is displayed before respectively above the video.
40+
The slot `title` and `content` are optional. The slot `content` is displayed before the video.
4141

4242
### Notes
4343

docs/src/app/pages/docs/slides/app-slide-youtube/app-slide-youtube.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class AppSlideYoutube {
6262
<deckgo-highlight-code language="javascript">
6363
<code slot="code">&lt;deckgo-slide-youtube src=&quot;https:&#47;&#47;www.youtube.com&#47;watch?v=oUOjJIfPIjw&quot;&gt;{'\n'} &lt;h1 slot=&quot;title&quot;&gt;A 16&#47;9 video&lt;&#47;h1&gt;{'\n'}&lt;&#47;deckgo-slide-youtube&gt;</code>
6464
</deckgo-highlight-code><h3 id="app-slide-youtube-slots">Slots</h3>
65-
<p>The slot <code>title</code> is optional.</p>
65+
<p>The slot <code>title</code> and <code>content</code> are optional. The slot <code>content</code> is displayed before the video.</p>
6666
<h3 id="app-slide-youtube-notes">Notes</h3>
6767
<p>Optionally a slot <code>notes</code> could be use to add some notes regarding the particular slide. These will be automatically <code>displayed</code> in the <a href="https://deckdeckgo.app">remote control</a>.</p>
6868
<p>If you are using the <a href="https://deckdeckgo.com">DeckDeckGo</a> starter kit and wish to make your notes accessible to anyone, you would need to mark them with an attribute <code>show</code>.</p>

0 commit comments

Comments
 (0)