首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能在meteor 1.4中使用BootstrapTour

不能在meteor 1.4中使用BootstrapTour
EN

Stack Overflow用户
提问于 2016-09-04 03:25:17
回答 1查看 63关注 0票数 0

我在meteor 1.4中使用BootstrapTour的flowkey:bootstrap-tour包。但是这个包不能与我的应用程序一起工作。下面是我的代码:

代码语言:javascript
复制
   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();

该怎么做呢?感谢您的关注。:-)

EN

回答 1

Stack Overflow用户

发布于 2019-07-04 17:05:44

你可以试试这段代码

代码语言:javascript
复制
tour.start(true);

希望能解决你的问题

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39310580

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档