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

Commit 256263c

Browse files
feat: add last slide QR code properties
1 parent 28b7a52 commit 256263c

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ The attribute `content` should be provided in order to render a QR code in this
113113
| -------------------------- |-----------------|-----------------|-----------------|
114114
| custom-background | boolean | false | If you would provide a background for the all deck and a specific one for this slide, set this option to `true` |
115115
| custom-actions | boolean | false | If you would provide actions for the all deck and a specific one for this slide, set this option to `true` |
116+
| img-src | string | | In case you would like to display a logo over the QR code, provide the source of the image. Note: this image is lazy loaded too. |
117+
| img-alt | string | | In case you would display a logo over the QR code, you could provide an accessibility attribute using this option. |
116118

117119
### Example without any slots
118120

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,18 @@ export class AppSlideQRCode {
120120
<td>false</td>
121121
<td>If you would provide actions for the all deck and a specific one for this slide, set this option to <code>true</code></td>
122122
</tr>
123+
<tr>
124+
<td>img-src</td>
125+
<td>string</td>
126+
<td></td>
127+
<td>In case you would like to display a logo over the QR code, provide the source of the image. Note: this image is lazy loaded too.</td>
128+
</tr>
129+
<tr>
130+
<td>img-alt</td>
131+
<td>string</td>
132+
<td></td>
133+
<td>In case you would display a logo over the QR code, you could provide an accessibility attribute using this option.</td>
134+
</tr>
123135
</tbody></table>
124136
<h3 id="app-slide-qrcode-example-without-any-slots">Example without any slots</h3>
125137
<deckgo-highlight-code language="javascript">

0 commit comments

Comments
 (0)