Add text to AR steps, in popup window
Hello everyone,
I am trying to add some instruction text in a popup label, i have found some solutions here on the conumity, like showing the stepname, and that is working, however some of my instructions contain 2 lines of text.
Replacing the stepname by step_description is not working.
Note: I am new to coding, and have no experience.
Does anyone already done this and can share me some code?
This is what i have now:
var labelId = "label-1";
$scope.$on('newStep', function(evt, arg) {
$scope.setWidgetProp( labelId, "text", arg); // get the currentStep from the arg
var labelText = $scope.view.wdg['label-1'].text;
var InstructText = step_description
$scope.setWidgetProp( "label-1", "text", InstructText);
});

