Open HeadwayLabs opened 9 years ago
I believe this is due to Angular's multi-element directives feature that looks for attribute and element names ending with "start" and "end". Try changing it to on-end-end="end(tour)"
.
I tried this but no luck. I am expecting it to fire when I click the end tour button on any step. Is this correct?
I tested this locally and it should just be on-end="end(tour)"
, sorry for the confusion (for onStart you have to use on-start-start). It looks like it is working as expected, the function I created does fire when I click the "End Tour" button. Can you paste some markup and controller code here so I can take a look? My best guess is that your end function is not in scope.
Any update on this?
Any update, @HeadwayLabs?
I am trying to call a function in my controller on an element with a tour using:
But I cant get it to work. I can use onShow, OnNext, OnHide etc, but not onEnd and start for some reason.
Any help would be appreciated.
Thanks