Skip to content

Commit

Permalink
Merge pull request #4 from joordas/patch-1
Browse files Browse the repository at this point in the history
missing () on initialize method.
  • Loading branch information
hakimel committed Jul 2, 2020
2 parents 1dc33d5 + 72cb95f commit 30ac8c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events.md
Expand Up @@ -27,7 +27,7 @@ We also add a `.ready` class to the `.reveal` element so that you can hook into
The `Reveal.initialize` method also returns a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) which resolves when the presentation is ready. The following is synonymous to adding a listener for the `ready` event:

```javascript
Reveal.initialize.then( () => {
Reveal.initialize().then( () => {
// reveal.js is ready
} )
```
Expand Down Expand Up @@ -69,4 +69,4 @@ Reveal.on( 'resize', event => {
## Feature-specific Events
- [Overview mode events](/overview/#events)
- [Fragment events](/fragments/#events)
- [Auto-Slide events](/auto-slide/#events)
- [Auto-Slide events](/auto-slide/#events)

0 comments on commit 30ac8c0

Please sign in to comment.