rephrased #2378
This commit is contained in:
parent
c92d08acdd
commit
5fb743e65e
1 changed files with 1 additions and 2 deletions
|
@ -1292,8 +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.
|
||||
Note that reveal.js will *not* wait for the fullfillment of init promises if your plugin is loaded as an [async dependency](#dependencies). If the plugin's 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue