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

Assert on the DOM node tag name #112

Open
DamienCassou opened this issue Nov 10, 2021 · 1 comment
Open

Assert on the DOM node tag name #112

DamienCassou opened this issue Nov 10, 2021 · 1 comment

Comments

@DamienCassou
Copy link

I would like to make sure that a DOM node is a <span> or an <a>. I can use .match("a") but I though there could exist something more specific (just like for .attr()).

@DamienCassou
Copy link
Author

I would still like something like this.

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

1 participant