0

I am using flowkey:bootstrap-tour package for BootstrapTour in meteor 1.4. but this package not working with my App. Here is my codes for this :

   let tour = new Tour({
     name: "tour",
     debug:true,
     container: "body",
     steps: [
     {
     element: "#test",
     title: "Title of my step",
     content: "Content of my step"
     }
     ],
     template:
     "<div class='popover tour'> <div class='arrow'></div> <h3 class='popover-title'></h3> " +
     "<div class='popover-content'></div> " +
     "<div class='popover-navigation'> " +
     "<button class='btn btn-default' data-role='prev'>« Prev</button> " +
     "<span data-role='separator'>|</span> " +
     "<button class='btn btn-default' data-role='next'>Next »</button> " +
     "</div> " +
     "<button class='btn btn-default' data-role='end'>End tour</button> " +
     "</div>"
     });


     // Initialize the tour
     tour.init();

     // Start the tour
     tour.start();

how to do it? thanks for your attention. :-)

Saeed Jalali
  • 416
  • 4
  • 16

1 Answers1

0

you can try this code

tour.start(true);

hopefully solves your problem