mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-19 13:02:22 +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
|
||||
|
||||
|
@@ -454,6 +454,8 @@
|
||||
|
||||
loaded = true;
|
||||
|
||||
dom.wrapper.classList.add( 'ready' );
|
||||
|
||||
dispatchEvent( 'ready', {
|
||||
'indexh': indexh,
|
||||
'indexv': indexv,
|
||||
|
Reference in New Issue
Block a user