public static class PseudoClasses.FIRST_CHILD extends PseudoClass
:nth-child(1). Represents an element that is the first child of some other element.| Constructor and Description |
|---|
FIRST_CHILD() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Node node)
Returns
true if node matches the pseudo-class. |
getPseudoClassName, matchInRangepublic boolean match(Node node)
PseudoClasstrue if node matches the pseudo-class.match in class PseudoClass