view s6/DOCS/PLUGINS.md @ 17:358bb29b5c98 default tip

4_14
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 14 Apr 2015 04:11:54 +0900
parents ab2d529bb1d7
children
line wrap: on
line source

# S6 Format for Plugins / Addons

## Custom Events 

S6 fires the following events (to let plugins/addons get hooks into the JavaScript machinery):

* `slideshow.init`
* `slideshow.start`
* `slideshow.keys( key )`
* `slideshow.debug.on`
* `slideshow.debug.off`
* `slideshow.change( from, to )`