Integrations
Deck Widget
To display an interactive deck on your website, you can import the "ssrr-deck" custom element and embed it in your page.
You'll need to:
- Import the javascript file
- Upload your deck to this site
- Copy your deck's ID from the page's URL (this part:
https://spellslingerer.com/decks/idcy0cz6xapt580
) - Embed the
<ssrr-deck deck="YOUR DECK ID"></ssrr-deck>
tag in your page - Add the
display-code
attribute if you want to display the deck's import code
The code to do so is as follows:
<script type="module" src="https://spellslingerer.com/js/ssrr-deck.js"></script>
<ssrr-deck deck="idcy0cz6xapt580" display-code></ssrr-deck>
And it will result in the following: