summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/hooks_server-side.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/hooks_server-side.md b/doc/api/hooks_server-side.md
index 84ca4490..bc56f19b 100644
--- a/doc/api/hooks_server-side.md
+++ b/doc/api/hooks_server-side.md
@@ -64,7 +64,7 @@ This hook gets called upon the rendering of an ejs template block. For any speci
Have a look at `src/templates/pad.html` and `src/templates/timeslider.html` to see which blocks are available.
-## padCreated
+## padCreate
Called from: src/node/db/Pad.js
Things in context:
@@ -73,16 +73,16 @@ Things in context:
This hook gets called when a new pad was created.
-## padLoaded
+## padLoad
Called from: src/node/db/Pad.js
Things in context:
1. pad - the pad instance
-This hook gets called when an pad was loaded.
+This hook gets called when an pad was loaded. If a new pad was created and loaded this event will be emitted too.
-## padUpdated
+## padUpdate
Called from: src/node/db/Pad.js
Things in context:
@@ -91,7 +91,7 @@ Things in context:
This hook gets called when an existing pad was updated.
-## padRemoved
+## padRemove
Called from: src/node/db/Pad.js
Things in context: