mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-20 05:21:31 +02:00
ready flag on .reveal container
This commit is contained in:
@@ -348,6 +348,7 @@ Reveal.addEventListener( 'ready', function( event ) {
|
|||||||
} );
|
} );
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that we also add a `.ready` class to the `.reveal` element so that you can hook into this with CSS.
|
||||||
|
|
||||||
### Auto-sliding
|
### Auto-sliding
|
||||||
|
|
||||||
|
@@ -454,6 +454,8 @@
|
|||||||
|
|
||||||
loaded = true;
|
loaded = true;
|
||||||
|
|
||||||
|
dom.wrapper.classList.add( 'ready' );
|
||||||
|
|
||||||
dispatchEvent( 'ready', {
|
dispatchEvent( 'ready', {
|
||||||
'indexh': indexh,
|
'indexh': indexh,
|
||||||
'indexv': indexv,
|
'indexv': indexv,
|
||||||
|
Reference in New Issue
Block a user