driver.js icon indicating copy to clipboard operation
driver.js copied to clipboard

[Feature request] Add no-highlight element for startup/ending tour

Open Rombecchi opened this issue 6 years ago • 2 comments

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!

cattura

Rombecchi avatar Apr 10 '18 21:04 Rombecchi

Hello from 2020. Any progress? :)

koutsenko avatar Apr 27 '20 12:04 koutsenko

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
});

Nialld avatar Feb 23 '21 14:02 Nialld

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.

kamranahmedse avatar Jul 05 '23 17:07 kamranahmedse