mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-12 01:25:17 +02:00
initial react wrapper exploration
This commit is contained in:
@@ -1389,6 +1389,8 @@ export default function( revealElement, options ) {
|
||||
*/
|
||||
function slide( h, v, f, origin ) {
|
||||
|
||||
if( Reveal.isReady() === false ) return;
|
||||
|
||||
// Dispatch an event before the slide
|
||||
const slidechange = dispatchEvent({
|
||||
type: 'beforeslidechange',
|
||||
@@ -1653,6 +1655,8 @@ export default function( revealElement, options ) {
|
||||
*/
|
||||
function sync() {
|
||||
|
||||
if( Reveal.isReady() === false ) return;
|
||||
|
||||
// Subscribe to input
|
||||
removeEventListeners();
|
||||
addEventListeners();
|
||||
|
Reference in New Issue
Block a user