Skip to content

v0.0.8

Choose a tag to compare

@daniesy daniesy released this 19 May 18:50
· 22 commits to main since this release

Features

Attribute Presence Selector:
You can now use [attr] in querySelectorAll and querySelector to select elements that have a given attribute, regardless of its value.

Advanced Attribute Selectors:
Full support for [attr="value"] (exact match), [attr~="value"] (space-separated word match), [attr*="value"] (substring match), and [attr] (presence) in all query methods.

Documentation
The README has been updated to document the new [attr] selector and provide usage examples for all supported attribute selector types.