Fix tutorial
This commit is contained in:
parent
30608366d7
commit
28bd9af4ff
8 changed files with 76 additions and 34 deletions
|
@ -250,6 +250,13 @@ angular.module("angular-tour", [])
|
|||
};
|
||||
};
|
||||
|
||||
// Signal: When an element is visible in the page's DOM.
|
||||
signals.elementVisible = function(elementPath) {
|
||||
return function(tourScope) {
|
||||
return $(tourScope._replaceData(elementPath)).height() > 0;
|
||||
};
|
||||
};
|
||||
|
||||
// Signal: When an element is found in the page's DOM.
|
||||
signals.elementAvaliable = function(elementPath) {
|
||||
return function(tourScope) {
|
||||
|
|
Reference in a new issue