method

nth_child

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: HTML::Selector
nth_child(a, b, of_type, reverse) protected

Returns a lambda that can match an element against the nth-child pseudo class, given the following arguments:

  • a – Value of a part.

  • b – Value of b part.

  • of_type – True to test only elements of this type (of-type).

  • reverse – True to count in reverse order (last-).

Show source
Register or log in to add new notes.