我正在使用https://github.com/benmarch/angular-ui-tour。 一段时间后如何显示游览步骤弹出窗口。 angular ui游览库选项已删除。请在下面找到。 0.8.0中的重大更改: 以下游览步骤选项已删除:popupDelay,popupCloseDelay,动画
有什么方法可以延迟angualr ui的游览步骤。对您的帮助将不胜感激。
答案 0 :(得分:1)
1. call a function on "tour-step-on-next" of previous step popup.
2. Inside that function add this below code to delay the next popup
$timeout(function(d){
var tour = uiTourService.getTourByName('oneTour');
tour.goTo('mfgGroups');
$scope.$apply();
},100);