1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-01-17 21:39:25 +01:00

add pdf-ready event; dispatched when the presentation is laid out and ready to print

This commit is contained in:
Hakim El Hattab 2016-11-09 11:56:55 +01:00
parent ca37d4e5b9
commit 19188205de

View File

@ -714,6 +714,9 @@
fragment.classList.add( 'visible' );
} );
// Notify subscribers that the PDF layout is good to go
dispatchEvent( 'pdf-ready' );
}
/**