nth_child

nth_child(a, b, of_type, reverse)
Instance Protected methods

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-).

doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.