ready flag on .reveal container

edit
Hakim El Hattab 2016-07-01 08:44:27 +02:00
parent 541bcf2123
commit 6447b59ac5
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -454,6 +454,8 @@
loaded = true;
dom.wrapper.classList.add( 'ready' );
dispatchEvent( 'ready', {
'indexh': indexh,
'indexv': indexv,