mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-10 00:45:01 -04:00
Merge a521a12583
into a1280fd917
This commit is contained in:
commit
00b847273f
2 changed files with 45 additions and 0 deletions
|
@ -65,6 +65,42 @@ 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.
|
||||
|
||||
## padCreate
|
||||
Called from: src/node/db/Pad.js
|
||||
|
||||
Things in context:
|
||||
|
||||
1. pad - the pad instance
|
||||
|
||||
This hook gets called when a new pad was created.
|
||||
|
||||
## 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. If a new pad was created and loaded this event will be emitted too.
|
||||
|
||||
## padUpdate
|
||||
Called from: src/node/db/Pad.js
|
||||
|
||||
Things in context:
|
||||
|
||||
1. pad - the pad instance
|
||||
|
||||
This hook gets called when an existing pad was updated.
|
||||
|
||||
## padRemove
|
||||
Called from: src/node/db/Pad.js
|
||||
|
||||
Things in context:
|
||||
|
||||
1. padID
|
||||
|
||||
This hook gets called when an existing pad was removed/deleted.
|
||||
|
||||
## socketio
|
||||
Called from: src/node/hooks/express/socketio.js
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue