Skip to content

Assert on the DOM node tag name #112

@DamienCassou

Description

@DamienCassou

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()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions