diff options
author | Hakim El Hattab | 2019-06-10 07:34:21 +0200 |
---|---|---|
committer | GitHub | 2019-06-10 07:34:21 +0200 |
commit | c92d08acddd4a71a2857ddd4ed41e3ef4c5f928e (patch) | |
tree | 8117dbfa8da98dcdef7077f150b7684070cec739 | |
parent | ff2a927de8fd9ec2ef93e96ecfb36db4d60b7cd5 (diff) | |
parent | 1f5fb971d4a6cf6ab153a2484a440f80e24a1400 (diff) |
Merge pull request #2378 from mbotsch/fix-plugin-documentation
Fix plugin documentation regarding init-Promises
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |