annotate DOCS/PLUGINS.md @ 20:e570366e59dc default tip

update
author oc
date Wed, 18 Feb 2015 19:14:00 +0900
parents 67f3e23bf09a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
67f3e23bf09a add lab intro
oc
parents:
diff changeset
1 # S6 Format for Plugins / Addons
67f3e23bf09a add lab intro
oc
parents:
diff changeset
2
67f3e23bf09a add lab intro
oc
parents:
diff changeset
3 ## Custom Events
67f3e23bf09a add lab intro
oc
parents:
diff changeset
4
67f3e23bf09a add lab intro
oc
parents:
diff changeset
5 S6 fires the following events (to let plugins/addons get hooks into the JavaScript machinery):
67f3e23bf09a add lab intro
oc
parents:
diff changeset
6
67f3e23bf09a add lab intro
oc
parents:
diff changeset
7 * `slideshow.init`
67f3e23bf09a add lab intro
oc
parents:
diff changeset
8 * `slideshow.start`
67f3e23bf09a add lab intro
oc
parents:
diff changeset
9 * `slideshow.keys( key )`
67f3e23bf09a add lab intro
oc
parents:
diff changeset
10 * `slideshow.debug.on`
67f3e23bf09a add lab intro
oc
parents:
diff changeset
11 * `slideshow.debug.off`
67f3e23bf09a add lab intro
oc
parents:
diff changeset
12 * `slideshow.change( from, to )`
67f3e23bf09a add lab intro
oc
parents:
diff changeset
13