Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f06b241c authored by EL HASSANE GARGEM's avatar EL HASSANE GARGEM
Browse files

associate introjs to main vue

parent 4db87526
No related branches found
No related tags found
1 merge request!46Onboarding
......@@ -13,7 +13,8 @@ var partVM = new Vue({
blockShortcuts: false,
fullsizeimage: false,
selectedTranscription: null,
comparedTranscriptions: []
comparedTranscriptions: [],
intro : introJs()
},
mounted(){
if(onboarding) {
......@@ -195,17 +196,16 @@ var partVM = new Vue({
},
methods: {
call_introjs(){
var document_edit = introJs();
document_edit.setOptions({steps: steps_intro});
document_edit.start();
document_edit.onexit(function () {
// exitonboarding();
this.intro.setOptions({steps: steps_intro});
this.intro.start();
this.intro.onexit(function () {
exitonboarding();
});
document_edit.oncomplete(function () {
segmentation_intro.start();
this.intro.oncomplete(function () {
window.location.href= models_url;
});
console.log("hey you");
},
resetZoom() {
this.zoom.reset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment