Skip to content

Commit 1eba631

Browse files
Add note to onElementDataChange
1 parent 9d70ac1 commit 1eba631

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

events/Element/onElementDataChange.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ examples:
2929
side: server
3030
canceling: This event cannot be cancelled using cancelEvent. To reverse the effect,
3131
use setElementData with the old value. See Example.
32+
notes:
33+
- type: info
34+
content: 'These predefined variables are special in this event: client : The client
35+
global variable is set to the client that called setElementData , or nil if it
36+
was called on the server. sourceResource : The resource which changed the element
37+
data - nil , if client synced data, resource element otherwise.'

0 commit comments

Comments
 (0)