Skip to content

Commit

Permalink
Document full support for attribute selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
conartist6 authored and ljharb committed Oct 26, 2018
1 parent 69869e0 commit 67a1456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/selector.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ follows:
- class syntax (`.foo`, `.foo-bar`, etc.)
- element syntax (`input`, `div`, `span`, etc.)
- id syntax (`#foo`, `#foo-bar`, etc.)
- attribute syntax (`[href="foo"]`, `[type="text"]`, etc.)
- attribute syntax (`[href="foo"]`, `[type="text"]`, and the other attribute selectors listed [here](https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Attribute_selectors).)

Further, enzyme supports combining any of those supported syntaxes together to uniquely identify a
single node. For instance:
Expand Down

0 comments on commit 67a1456

Please sign in to comment.