Skip to main content
added 4 characters in body
Source Link
Sebastian Kessel
  • 13.2k
  • 12
  • 38
  • 61
({
next : function(cmp, event, helper) {
alert('1');
 var navService = cmp.find("navService");
 var pageReference = {
                     "type": "standard__component",
                     "attributes": {
                                     "componentName": "c__Questionary2"
                                   }, 
                     "state": {
                         'message':'This is the target page'
                     }
                    };
 navService.navigate(pageReference);
}
})

})

({
next : function(cmp, event, helper) {
alert('1');
 var navService = cmp.find("navService");
 var pageReference = {
                     "type": "standard__component",
                     "attributes": {
                                     "componentName": "c__Questionary2"
                                   }, 
                     "state": {
                         'message':'This is the target page'
                     }
                    };
 navService.navigate(pageReference);
}

})

({
next : function(cmp, event, helper) {
alert('1');
 var navService = cmp.find("navService");
 var pageReference = {
                     "type": "standard__component",
                     "attributes": {
                                     "componentName": "c__Questionary2"
                                   }, 
                     "state": {
                         'message':'This is the target page'
                     }
                    };
 navService.navigate(pageReference);
}
})
Source Link

({
next : function(cmp, event, helper) {
alert('1');
 var navService = cmp.find("navService");
 var pageReference = {
                     "type": "standard__component",
                     "attributes": {
                                     "componentName": "c__Questionary2"
                                   }, 
                     "state": {
                         'message':'This is the target page'
                     }
                    };
 navService.navigate(pageReference);
}

})