ready flag on .reveal container
This commit is contained in:
parent
541bcf2123
commit
6447b59ac5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user