Skip to content

Commit fe6d0c4

Browse files
caitlinwheelesscaitlinwheeless
and
caitlinwheeless
authored
docs: Small note to custom scripts page (#6992)
Co-authored-by: caitlinwheeless <[email protected]>
1 parent 17499d4 commit fe6d0c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/source/guide/scripts.md

+3
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ Subscription to listen to events related to the Label Studio Frontend. Handlers
118118

119119
For a list of all available events, see our [Frontend reference](frontend_reference#Available-events).
120120

121+
!!! note
122+
Top-level events such as `labelStudioLoad` and `storageInitialized` cannot be used with custom scripts, as they execute before the script is initialized.
123+
121124
| Parameter &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Type | Description |
122125
|--------------------------|--------------------|--------------------------|
123126
| `eventName` | string | A case-sensitive string representing the event type to listen for. |

0 commit comments

Comments
 (0)