Skip to main content
13-Aquamarine
July 4, 2023
Solved

Can we add multiple JS in events

  • July 4, 2023
  • 1 reply
  • 1157 views

Can we add the multiple JS in events

 

Best answer by RolandRaytchev

It should actually work:

2023-07-04_14-07-50.jpg

But it should be better to group the both function in the js code - function defintion

$scope.app.myNewFunction= function(){
$scope.setSequnece("sequence1");
//or $scope.app.setSequnece("sequence1");
// if defintion in app
$sope.B1();
}

and then call app.myNewFunction(); in UI

1 reply

21-Topaz I
July 4, 2023

It should actually work:

2023-07-04_14-07-50.jpg

But it should be better to group the both function in the js code - function defintion

$scope.app.myNewFunction= function(){
$scope.setSequnece("sequence1");
//or $scope.app.setSequnece("sequence1");
// if defintion in app
$sope.B1();
}

and then call app.myNewFunction(); in UI