feat: better example slides

This commit is contained in:
Joshua Seigler 2016-10-10 14:02:13 -04:00
parent 59e965047e
commit 22927bfd38
4 changed files with 382 additions and 17 deletions

View file

@ -35,6 +35,7 @@
}
var sessionListener = function(e) {
console.log(e);
if (e.url === window.location.href) {
if (e.key === 'janus-currentSlideNumber') {
setCurrentSlide(+e.newValue);
@ -48,6 +49,9 @@
shortcut.add('F1', function() {
document.body.classList.toggle('show-notes');
});
shortcut.add('F2', function() {
window.open(window.location.href, '_blank');
});
shortcut.add('Page_down', function() {
setCurrentSlide(currentSlideNumber + 1);
});