Class PseudoClasses.FIRST_OF_TYPE

  • Enclosing interface:
    PseudoClasses

    public static class PseudoClasses.FIRST_OF_TYPE
    extends PseudoClass
    Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element.
    • Constructor Detail

      • FIRST_OF_TYPE

        public FIRST_OF_TYPE()
    • 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