Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Rombecchi opened this issue Apr 10, 2018 · 3 comments
Closed

Comments

@Rombecchi
Copy link

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

@koutsenko
Copy link

Hello from 2020. Any progress? :)

@Nialld
Copy link

Nialld commented Feb 23, 2021

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

@kamranahmedse
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants