mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-10-30 15:51:37 +01:00
Updated docs for new pad hooks (add, edit, remove)
This commit is contained in:
parent
07c33c77c4
commit
c0f2e557d3
@ -67,6 +67,8 @@ Have a look at `src/templates/pad.html` and `src/templates/timeslider.html` to s
|
|||||||
## padCreated
|
## padCreated
|
||||||
Called from: src/node/db/Pad.js
|
Called from: src/node/db/Pad.js
|
||||||
|
|
||||||
|
Things in context:
|
||||||
|
|
||||||
1. pad - the pad instance
|
1. pad - the pad instance
|
||||||
|
|
||||||
This hook gets called when a new pad was created.
|
This hook gets called when a new pad was created.
|
||||||
@ -74,6 +76,8 @@ This hook gets called when a new pad was created.
|
|||||||
## padLoaded
|
## padLoaded
|
||||||
Called from: src/node/db/Pad.js
|
Called from: src/node/db/Pad.js
|
||||||
|
|
||||||
|
Things in context:
|
||||||
|
|
||||||
1. pad - the pad instance
|
1. pad - the pad instance
|
||||||
|
|
||||||
This hook gets called when an pad was loaded.
|
This hook gets called when an pad was loaded.
|
||||||
@ -81,6 +85,8 @@ This hook gets called when an pad was loaded.
|
|||||||
## padUpdated
|
## padUpdated
|
||||||
Called from: src/node/db/Pad.js
|
Called from: src/node/db/Pad.js
|
||||||
|
|
||||||
|
Things in context:
|
||||||
|
|
||||||
1. pad - the pad instance
|
1. pad - the pad instance
|
||||||
|
|
||||||
This hook gets called when an existing pad was updated.
|
This hook gets called when an existing pad was updated.
|
||||||
@ -88,6 +94,8 @@ This hook gets called when an existing pad was updated.
|
|||||||
## padRemoved
|
## padRemoved
|
||||||
Called from: src/node/db/Pad.js
|
Called from: src/node/db/Pad.js
|
||||||
|
|
||||||
|
Things in context:
|
||||||
|
|
||||||
1. pad - the pad instance
|
1. pad - the pad instance
|
||||||
|
|
||||||
This hook gets called when an existing pad was removed/deleted.
|
This hook gets called when an existing pad was removed/deleted.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user