The manakai project

Web::DOM::HTMLTableRowElement

The DOM HTMLTableRowElement object

DESCRIPTION

The Web::DOM::HTMLTableRowElement class implements the DOM HTMLTableRowElement interface. The class is used by the HTML tr element.

METHODS

In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:

$col = $el->cells

Return the Web::DOM::HTMLCollection containing the cells (td or th elements) anchored to the table row. [HTML]

$el->delete_cell ($index)

Return the table cell (td or th element) with the specified index in the list of the cells anchored in the row. [HTML]

$td = $el->insert_cell ($index)

Insert a table data cell (td element) at the specified postion in the list of the cells anchored in the row and return the element. [HTML]

$index = $el->row_index

Return the index of the row in the table. [HTML]

$index = $el->section_row_index

Return the index of the row in the table row group. [HTML]

Additionally, the following obsolete methods are available: align, bgcolor, ch, ch_off, and valign. [HTML]

SPECIFICATION

HTML

HTML Standard <http://www.whatwg.org/specs/web-apps/current-work/#the-tr-element>.

SEE ALSO

Web::DOM::HTMLElement, Web::DOM::HTMLTableElement, Web::DOM::HTMLTableCellElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.