mirror of
https://github.com/BeamMP/Docs.git
synced 2025-07-02 16:05:47 +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
68c5a7bffa
commit
00f79033f3
@ -200,7 +200,7 @@ return M
|
||||
```
|
||||
|
||||
Note that its very important to return the M (module) variable with the needed functions inside!
|
||||
Example, without the ``M.modifyMessage = modifyMessage`` line, the ``bngApi.engineLua('extensions.exampleMod.modifyMessage("' + $scope.message + '")')`` function will not be able to find the modifyMessage() function
|
||||
For example, without the ``M.modifyMessage = modifyMessage`` line, the ``bngApi.engineLua('extensions.exampleMod.modifyMessage("' + $scope.message + '")')`` function will not be able to find the modifyMessage() function
|
||||
|
||||
|
||||
ui\modules\apps\ExampleApp\app.css
|
||||
|
Loading…
x
Reference in New Issue
Block a user