mirror of
https://github.com/BeamMP/Docs.git
synced 2025-08-17 08:55:52 +00:00
Update docs/en/beamng/dev/modding/ui-apps.md
Co-authored-by: O1LER <44237025+O1LER@users.noreply.github.com>
This commit is contained in:
parent
9817ceeed1
commit
936f826599
@ -260,7 +260,7 @@ Useful to run a lua function with or without arguments
|
|||||||
```lua
|
```lua
|
||||||
guihooks.trigger("EventName", Payload)
|
guihooks.trigger("EventName", Payload)
|
||||||
```
|
```
|
||||||
The payload can be any types but its better to keep it as an Array / Object or a String to not be lost.
|
The payload can be any type but its better to keep it as an Array / Object or a String to not be lost.
|
||||||
|
|
||||||
<b>IMPORTANT</b> : Sometime it can happen that the event name you use is already used internally by something else and cause problems, so for example if your app is named Nickel, it can be a good practice to name every of your Angular event like NKEventName instead of EventName
|
<b>IMPORTANT</b> : Sometime it can happen that the event name you use is already used internally by something else and cause problems, so for example if your app is named Nickel, it can be a good practice to name every of your Angular event like NKEventName instead of EventName
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user