diff options
author | Marvin Borner | 2020-06-22 17:10:00 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-22 17:10:00 +0200 |
commit | 182cca811dc1750327072fa97d4a4d3348e64101 (patch) | |
tree | b3d7aabf5b7cd64d108da3c825c1212e33d9a843 /js/main.js | |
parent | ec888354b4274b69ede15d3b83e6989683329ac1 (diff) |
VERY funny code :)
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -124,3 +124,20 @@ function koch(start, end, iteration) { koch([x2, y2], [end[0], end[1]], iteration - 1); } } + +// Some revealjs thingies +// This some real hacky shit yo +Reveal.addEventListener("fragmentshown", (event) => { + switch (event.fragment.getAttribute("data-action")) { + case "nebenrechnung": + Reveal.slide(4, 1, 0); + break; + case "umfang-back": + Reveal.slide(4, 0, 2); + break; + case "gooo": + Reveal.slide(5, 0, 0); + break; + default: + } +}); |