Skip to content
Snippets Groups Projects
Unverified Commit c92d08ac authored by Hakim El Hattab's avatar Hakim El Hattab Committed by GitHub
Browse files

Merge pull request #2378 from mbotsch/fix-plugin-documentation

Fix plugin documentation regarding init-Promises
parents ff2a927d 1f5fb971
Branches
Tags
No related merge requests found
......@@ -1292,6 +1292,7 @@ Reveal.addEventListener( 'ready', () => console.log( 'Three seconds later...' )
Reveal.initialize();
```
For plugins that are loaded as [dependencies](#dependencies), reveal.js will wait for the fullfillment of their init Promise only for the *non-async* plugins.
If the init method does _not_ return a Promise, the plugin is considered ready right away and will not hold up the reveal.js startup sequence.
### Retrieving Plugins
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment