aboutsummaryrefslogtreecommitdiff
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
parentca37d4e5b906640ea2301d34d2bb8d65b9572eae (diff)
downloadperl-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
-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' );
+
}
/**