cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Vuforia Studio - Checkbox Widget

Aditya1702
15-Moonstone

Vuforia Studio - Checkbox Widget

Hi,

Good Afternoon,

 

I want to trigger an event in Vuforia Studio only after all the checkbox widgets are ticked.

Can anyone help me out with this.

Thanks in Advance,

 

Regards,

Aditya Gupta

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions
sebben
12-Amethyst
(To:Aditya1702)

Hi,

 

you can write a function like this: 

$scope.CheckAllCheckboxes = function(){
  if($scope.view.wdg["checkbox-1"].value && $scope.view.wdg["checkbox-2"].value && $scope.view.wdg["checkbox-3"].value){
    //Do something
  }
}

And then trigger it from every selected event of the checkboxes.

 

Hope that helps.

View solution in original post

1 REPLY 1
sebben
12-Amethyst
(To:Aditya1702)

Hi,

 

you can write a function like this: 

$scope.CheckAllCheckboxes = function(){
  if($scope.view.wdg["checkbox-1"].value && $scope.view.wdg["checkbox-2"].value && $scope.view.wdg["checkbox-3"].value){
    //Do something
  }
}

And then trigger it from every selected event of the checkboxes.

 

Hope that helps.

Announcements

Top Tags