mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-07-31 20:00:28 +02:00
add pdf-ready event; dispatched when the presentation is laid out and ready to print
This commit is contained in:
@@ -714,6 +714,9 @@
|
|||||||
fragment.classList.add( 'visible' );
|
fragment.classList.add( 'visible' );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
// Notify subscribers that the PDF layout is good to go
|
||||||
|
dispatchEvent( 'pdf-ready' );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user