Skip to content

Introduce method on AllElementsCondition for the first, nth, and last - #37

Open
hovinen wants to merge 1 commit into
support-query-by-name-without-rolefrom
nth-match-on-query-all
Open

hovinen wants to merge 1 commit into
support-query-by-name-without-rolefrom
nth-match-on-query-all

Conversation

@hovinen

@hovinen hovinen commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

These allows one to turn an AllElementsCondition into an ElementCondition for a specific element in DOM order. The implementation is a simple proxy for the existing Query types.

This also adds some missing documentation and cleans up some of the styling.

@hovinen
hovinen added this pull request to stack #28 October 3, 2026 16:35
@hovinen hovinen self-assigned this Oct 3, 2026
@hovinen
hovinen requested a review from ealmloff October 3, 2026 16:35
@hovinen
hovinen force-pushed the nth-match-on-query-all branch from c6284ff to a8723d0 Compare October 16, 2026 19:03
These allows one to turn an `AllElementsCondition` into an
`ElementCondition` for a specific element in DOM order. The
implementation is a simple proxy for the existing `Query` types.

This also adds some missing documentation and cleans up some of the
styling.
@hovinen
hovinen force-pushed the nth-match-on-query-all branch from a8723d0 to 3a5741a Compare October 23, 2026 07:06
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

Successfully merging this pull request may close these issues.

1 participant