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

Is getting scoped tag name possible ? #389

Open
mohit-singh-pepper opened this issue Aug 10, 2022 · 0 comments
Open

Is getting scoped tag name possible ? #389

mohit-singh-pepper opened this issue Aug 10, 2022 · 0 comments

Comments

@mohit-singh-pepper
Copy link

<p class='whatever'>Hello !</p>

For above html, something like following.

x('.whatever', [
  {
     name: '@tag',
     text: ''
  }
])

Should return

[
  {
    "name": "p",
    "text": "Hello !"
  }
]
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