We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I have the following handler, is it possible to get the text content / innerHTML?
element!("title", |el| { let page_title = // some way to get the text content of `el` println!("Page Title: {:?}", page_title); Ok(()) })
The text was updated successfully, but these errors were encountered:
Hello, has anyone found a solution?
Sorry, something went wrong.
It's not possible to get text out of an Element. You have to use text! selector instead of the element!.
Element
text!
element!
No branches or pull requests
If I have the following handler, is it possible to get the text content / innerHTML?
The text was updated successfully, but these errors were encountered: