From c917972a67c39ee328297ae45c719cbe0240400c Mon Sep 17 00:00:00 2001 From: BoubouleTheCutestHamster <89800454+boubouleuh@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:55:32 +0100 Subject: [PATCH] Update docs/en/beamng/dev/modding/ui-apps.md Co-authored-by: O1LER <44237025+O1LER@users.noreply.github.com> --- docs/en/beamng/dev/modding/ui-apps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/beamng/dev/modding/ui-apps.md b/docs/en/beamng/dev/modding/ui-apps.md index 14d0b92d..d235350b 100644 --- a/docs/en/beamng/dev/modding/ui-apps.md +++ b/docs/en/beamng/dev/modding/ui-apps.md @@ -127,7 +127,7 @@ end ``` ^ This is a simplified version of the lua to just show the function -The main things here is the usage of guihooks.trigger which triggers an AngularJS event defined with ``$scope.$on()``. As you can see at the very bottom of the Javascript file the event is named MessageReady and will be executed by the guihooks.trigger function with the message payload and then will be pushed inside the ``$scope.messages`` variable to be displayed by the li tag using ng-repeat in the Html file +The main focus here is the usage of guihooks.trigger which triggers an AngularJS event defined with ``$scope.$on()``. As you can see at the very bottom of the Javascript file the event is named MessageReady and will be executed by the guihooks.trigger function with the message payload and then will be pushed inside the ``$scope.messages`` variable to be displayed by the li tag using ng-repeat in the Html file The full lua file is just below