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
No description provided.
The text was updated successfully, but these errors were encountered:
I implemented one:
func PagserExists(node *goquery.Selection, args ...string) (out interface{}, err error) { return node.Length() > 0, nil } p.RegisterFunc("exists", PagserExists)
I think it could be added to core functions.
Sorry, something went wrong.
Which usages need to use this method?
I use it like this:
type data struct { DialogExists bool `pagser:"#dialog->exists()"` }
Ideally it would not be needed and the following would just work:
type data struct { DialogExists bool `pagser:"#dialog"` }
But it fails.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: