angular-intro.js icon indicating copy to clipboard operation
angular-intro.js copied to clipboard

problem with dynamic elements (e.g. ng-if)

Open nerkat opened this issue 8 years ago • 1 comments

i see a lot of people here with the same problem i recommend the developers to upgrade the 'ngIntroRefreshMethod' to include something like this:

 angular.forEach(intro._introItems, function (step, key) {
                    step.element = document.querySelector(intro._options.steps[key].element);
                    step.position = document.querySelector(intro._options.steps[key].position);
                });

nerkat avatar Nov 15 '16 23:11 nerkat

Im facing the same issue as well. Steps show as undefined if they are defined through a script. Did you add this to this function on angular-into.js? d.ngIntroRefreshMethod=function(){g.refresh()};

mattifh avatar Jan 08 '17 23:01 mattifh