diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-11-09 11:56:55 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-11-09 11:56:55 +0100 |
commit | 19188205de20c6c7e219c01482e897a880e42a7b (patch) | |
tree | a1287271551357d1c71962048e4ce8d95ab0d00f /js | |
parent | ca37d4e5b906640ea2301d34d2bb8d65b9572eae (diff) | |
download | perl-software-in-gnu-guix-19188205de20c6c7e219c01482e897a880e42a7b.tar perl-software-in-gnu-guix-19188205de20c6c7e219c01482e897a880e42a7b.tar.gz |
add pdf-ready event; dispatched when the presentation is laid out and ready to print
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 3 |
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' ); + } /** |