diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-03-10 10:18:37 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-03-10 10:18:37 +0100 |
commit | 9a2160536d8f657e3249f010989a3e0f6b6be002 (patch) | |
tree | 9ad2db9b55e18a3ad4fb9f9844602d98554162b0 /README.md | |
parent | 98a6d1de6be0e4acf03d8ef0427ccd685047f89b (diff) | |
download | fosdem-2021-minimalism-presentation-9a2160536d8f657e3249f010989a3e0f6b6be002.tar fosdem-2021-minimalism-presentation-9a2160536d8f657e3249f010989a3e0f6b6be002.tar.gz |
tweaks and updated docs for #2627
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -522,12 +522,9 @@ You can add your own extensions using the same syntax. The following properties - **callback**: [optional] Function to execute when the script has loaded - **condition**: [optional] Function which must return true for the script to be loaded -You can additionally use the following syntax, in case you are using a bundler: -- **id**: the id of the plugin to load -- **plugin**: the plugin object to load. It is the plugin implementation that can contain an `init` function -- **async**: [optional] Flags if the script should load after reveal.js has started, defaults to false -- **callback**: [optional] Function to execute when the script has loaded -- **condition**: [optional] Function which must return true for the script to be loaded +You can also include dependencies which are bundled/already present on the page. To include a bundled plugin. replace the `src` property with a plugin `id` and a reference to the `plugin` instance: +- **id**: the id of the plugin +- **plugin**: the plugin instance (see [Plugins](#plugins)) ### Ready Event |