Class PseudoClasses.FIRST_CHILD

  • Enclosing interface:
    PseudoClasses

    public static class PseudoClasses.FIRST_CHILD
    extends PseudoClass
    Same as :nth-child(1). Represents an element that is the first child of some other element.
    • Constructor Summary

      Constructors 
      Constructor Description
      FIRST_CHILD()  
    • Constructor Detail

      • FIRST_CHILD

        public FIRST_CHILD()
    • Method Detail

      • match

        public boolean match​(Node node)
        Description copied from class: PseudoClass
        Returns true if node matches the pseudo-class.
        Specified by:
        match in class PseudoClass