mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
docs for hook
This commit is contained in:
parent
7741f762e2
commit
8406cc95ab
1 changed files with 9 additions and 0 deletions
|
@ -143,6 +143,15 @@ Things in context:
|
||||||
|
|
||||||
This hook is called on the client side whenever a user joins or changes. This can be used to create notifications or an alternate user list.
|
This hook is called on the client side whenever a user joins or changes. This can be used to create notifications or an alternate user list.
|
||||||
|
|
||||||
|
## chatNewMessage
|
||||||
|
Called from: src/static/js/chat.js
|
||||||
|
|
||||||
|
Things in context:
|
||||||
|
|
||||||
|
1. msg - The message object
|
||||||
|
|
||||||
|
This hook is called on the client side whenever a user recieves a chat message from the server. This can be used to create different notifications for chat messages.
|
||||||
|
|
||||||
## collectContentPre
|
## collectContentPre
|
||||||
Called from: src/static/js/contentcollector.js
|
Called from: src/static/js/contentcollector.js
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue