driver.js
driver.js copied to clipboard
[Feature request] Add no-highlight element for startup/ending tour
Thank you for the fantastic job done! Please, could you add a feature for startup/ending tour (but also in the middle too) without highliting any element? It will be helpful if you have to show some warnings or tips... Thank you!
Hello from 2020. Any progress? :)
I have a solution which works for me, you need to assign the element in steps as selector 'body' and i also do placement 'mid-center'
let orphanCheck = function (e) {
e.stage.node.style.display = (e.node == document.body) ? 'none' : 'block';
}
var driver = new Driver({
onHighlighted : orphanCheck
});
We just released v1.0 of driver.js which has been rewritten from the ground up. You can now highlight non-elements (your usecase) as well Please have a look at the docs and do let me know if you face any issues.