aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-11-09 11:56:55 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-11-09 11:56:55 +0100
commit19188205de20c6c7e219c01482e897a880e42a7b (patch)
treea1287271551357d1c71962048e4ce8d95ab0d00f /js/reveal.js
parentca37d4e5b906640ea2301d34d2bb8d65b9572eae (diff)
downloadfosdem-2018-presentation-19188205de20c6c7e219c01482e897a880e42a7b.tar
fosdem-2018-presentation-19188205de20c6c7e219c01482e897a880e42a7b.tar.gz
add pdf-ready event; dispatched when the presentation is laid out and ready to print
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 861059c..28aa400 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -714,6 +714,9 @@
fragment.classList.add( 'visible' );
} );
+ // Notify subscribers that the PDF layout is good to go
+ dispatchEvent( 'pdf-ready' );
+
}
/**