bootstrap-tour icon indicating copy to clipboard operation
bootstrap-tour copied to clipboard

Add an onElementNotFound() event

Open Nerpson opened this issue 6 years ago • 1 comments

Hello,

Such event would be really useful, especially in my case when I'm using a JS page scroller. This would help me to know that the page scroller isn't fully loaded yet.

new Tour({
   [...],
    onElementNotFound: function() {
        scroller.doSmth();
    },
    [...]
});

Regards

Nerpson avatar Jun 11 '18 16:06 Nerpson

onElementUnavailable: option added to my fork

https://github.com/IGreatlyDislikeJavascript/bootstrap-tour https://github.com/IGreatlyDislikeJavascript/bootstrap-tour/blob/master/build/js/bootstrap-tour.js