Handle survey 'complete' event

Source code: Survey setup
Survey.defaultBootstrapCss.navigationButton = "btn btn-primary";
Survey.Survey.cssType = "bootstrap";
var survey = new Survey.Model({questions:[{ type: "comment", name: "suggestions", title:"What do you think about SurveyJS library?" }]});

function surveyOnComplete(s) { 
    alert("Thanks for your answer!");
}


survey.onComplete.add(surveyOnComplete);

var app = new Vue({
    el: '#surveyElement',
    data: {
        survey: survey
    }
});