Update docs/en/beamng/dev/modding/ui-apps.md

Co-authored-by: O1LER <44237025+O1LER@users.noreply.github.com>
This commit is contained in:
BoubouleTheCutestHamster 2025-01-15 14:56:13 +01:00 committed by O1LER
parent 68c5a7bffa
commit 00f79033f3

View File

@ -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