You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
*Note: If you would miss or need further templates, don't hesitate to open an issue and/or submit a PR, it would be my pleasure to add more options*
59
64
60
65
### Slide: Title
@@ -497,7 +502,7 @@ The [DeckDeckGo] - Hightlight code component is provided in separate extra libra
497
502
498
503
#### Attributes
499
504
500
-
At least `src` or the `slot` code should be provided in order to render code in this template. It offers the same attributes as the [DeckDeckGo]charts Web Component, see its [documentation](https://github.com/fluster/deckdeckgo-code) for the details.
505
+
At least `src` or the `slot` code should be provided in order to render code in this template. It offers the same attributes as the [DeckDeckGo]code Web Component, see its [documentation](https://github.com/fluster/deckdeckgo-highlight-code) for the details.
501
506
502
507
##### Example with file URI
503
508
@@ -672,4 +677,72 @@ div.circle {
672
677
}
673
678
```
674
679
680
+
### Slide: QR Code
681
+
682
+
The "QR code" slide is an handy slide in case you would like to display a QR code. It could for example be use as the very last slide of your presentation to display an easy link pointing to your deck, you previously published online. It would allow your audience to get easily your slides without any delay on their phone.
The slide "QR Code" relies on the code component `<deckgo-qrcode/>` which is described in the components [documentation](https://github.com/fluster/deckdeckgo/blob/master/doc/components/components.md).
710
+
711
+
#### Installation
712
+
713
+
The [DeckDeckGo] - QR Code component is provided in separate extra library. If you don't use the [DeckDeckGo] starter kit and wish to add the [DeckDeckGo] QR code to your project, you will need to install and integrate it from a CDN or [npm](https://www.npmjs.com/package/deckdeckgo-qrcode) as described in its [installation guide](https://github.com/fluster/deckdeckgo-qrcode#getting-started).
714
+
715
+
#### Attributes
716
+
717
+
The attribute `content` should be provided in order to render a QR code in this template. It offers the same attributes as the [DeckDeckGo] QR code Web Component, see its [documentation](https://github.com/fluster/deckdeckgo-qrcode) for the details.
718
+
719
+
##### Example without any slots
720
+
721
+
```
722
+
<deckgo-deck>
723
+
<deckgo-slide-qrcode content="An encoded text">
724
+
</deckgo-slide-code>
725
+
</deckgo-deck>
726
+
```
727
+
728
+
#### Theming
729
+
730
+
The following theming options will affect this component if set on its host or parent.
| --slide-padding-top | 16px | Padding top of the all slide |
737
+
| --slide-padding-end | 32px | Padding right of the all slide |
738
+
| --slide-padding-bottom | 16px | Padding bottom of the all slide |
739
+
| --slide-padding-start | 32px | Padding left of the all slide |
740
+
| --slide-qrcode-align | center | QR code vertical alignment |
741
+
| --slide-qrcode-text-align | center | QR code horizontal alignment |
742
+
| --slide-qrcode-background || QR code column's background |
743
+
| --slide-qrcode-title-display | inherit | If you wish to hide the slot="title" |
744
+
745
+
Furthermore, this slide component offers the exact same CSS4 variables as the [DeckDeckGo] - QR code Web Component, see its [documentation](https://github.com/fluster/deckdeckgo-qrcode) for the details.
0 commit comments