|
4 | 4 |
|
5 | 5 | ## Table of contents |
6 | 6 |
|
7 | | -- [Gif](#gif) |
8 | 7 | - [Chart](#chart) |
| 8 | +- [Gif](#gif) |
9 | 9 | - [Highlight Code](#highlight-code) |
10 | | -- [Youtube](#youtube) |
| 10 | +- [QR Code](#qr-code) |
11 | 11 | - [Social](#social) |
| 12 | +- [Youtube](#youtube) |
| 13 | + |
| 14 | +## Chart |
| 15 | + |
| 16 | +The "Chart" component is an extra component which let you draw charts easily. This Web Component could be use in [DeckDeckGo] or in any other web projects. See its [documentation](https://github.com/fluster/deckdeckgo-charts) for the details. |
12 | 17 |
|
13 | 18 | ## Gif |
14 | 19 |
|
@@ -56,41 +61,13 @@ The following theming options will affect this component if set on its host or p |
56 | 61 |
|
57 | 62 | Of course, as other images added to a presentation build with [DeckDeckGo], gifs are lazy loaded too. |
58 | 63 |
|
59 | | -## Chart |
60 | | - |
61 | | -The "Chart" component is an extra component which let you draw charts easily. This Web Component could be use in [DeckDeckGo] or in any other web projects. See its [documentation](https://github.com/fluster/deckdeckgo-charts) for the details. |
62 | | - |
63 | 64 | ## Highlight Code |
64 | 65 |
|
65 | 66 | The "Highlight Code" component is an extra component which let you highlight code easily. This Web Component could be use in [DeckDeckGo] or in any other web projects. See its [documentation](https://github.com/fluster/deckdeckgo-highlight-code) for the details. |
66 | 67 |
|
67 | | -## Youtube |
68 | | - |
69 | | -The "Youtube" component allows you to easily add a [Youtube](https://youtube.com) video in almost any slide of your presentation. |
70 | | - |
71 | | -### Usage |
| 68 | +## QR Code |
72 | 69 |
|
73 | | -The "Youtube" slide's Web Component could be integrated using the tag `<deckgo-youtube/>`. |
74 | | - |
75 | | -``` |
76 | | -<deckgo-youtube src="https://www.youtube.com/watch?v=oUOjJIfPIjw"> |
77 | | -</deckgo-youtube> |
78 | | -``` |
79 | | - |
80 | | -#### Slots |
81 | | - |
82 | | -No slots are available for this component. |
83 | | - |
84 | | -### Attributes |
85 | | - |
86 | | -This component offers the following options which could be set using attributes: |
87 | | - |
88 | | -| Attribute | Type | Default | Description | |
89 | | -| -------------------------- |:-----------------:|:-----------------:|:-----------------:| |
90 | | -| src | string | | The source url, the Youtube url, of the video. Not embeddable url will be automatically converted to embeddable url supported by Youtube. | |
91 | | -| width | number | | The width of the video player. | |
92 | | -| height | number | | The height of the video player. | |
93 | | -| frame-title | string | | A title for the frame, could be use for accessibility reason. | |
| 70 | +The "QR Code" component is an extra component which let you add QR code in your slides, useful for example to display links and url and if you wish your audience to easily access them. This Web Component could be use in [DeckDeckGo] or in any other web projects. See its [documentation](https://github.com/fluster/deckdeckgo-qr-code) for the details. |
94 | 71 |
|
95 | 72 | ## Social |
96 | 73 |
|
@@ -141,4 +118,32 @@ With for example `ion-icon`: |
141 | 118 | <deckgo-social github="fluster/deckdeckgo"><ion-icon slot="icon" name="logo-github"></ion-icon> DeckDeckGo on Github</deckgo-social> |
142 | 119 | ``` |
143 | 120 |
|
| 121 | +## Youtube |
| 122 | + |
| 123 | +The "Youtube" component allows you to easily add a [Youtube](https://youtube.com) video in almost any slide of your presentation. |
| 124 | + |
| 125 | +### Usage |
| 126 | + |
| 127 | +The "Youtube" slide's Web Component could be integrated using the tag `<deckgo-youtube/>`. |
| 128 | + |
| 129 | +``` |
| 130 | +<deckgo-youtube src="https://www.youtube.com/watch?v=oUOjJIfPIjw"> |
| 131 | +</deckgo-youtube> |
| 132 | +``` |
| 133 | + |
| 134 | +#### Slots |
| 135 | + |
| 136 | +No slots are available for this component. |
| 137 | + |
| 138 | +### Attributes |
| 139 | + |
| 140 | +This component offers the following options which could be set using attributes: |
| 141 | + |
| 142 | +| Attribute | Type | Default | Description | |
| 143 | +| -------------------------- |:-----------------:|:-----------------:|:-----------------:| |
| 144 | +| src | string | | The source url, the Youtube url, of the video. Not embeddable url will be automatically converted to embeddable url supported by Youtube. | |
| 145 | +| width | number | | The width of the video player. | |
| 146 | +| height | number | | The height of the video player. | |
| 147 | +| frame-title | string | | A title for the frame, could be use for accessibility reason. | |
| 148 | + |
144 | 149 | [DeckDeckGo]: https://deckdeckgo.com |
0 commit comments