render method

  1. @override
HTMLElement render()
override

Creates an HTML Element represention of Component.

Implementation

@override
HTMLElement render() {
  final table = super.render() as HTMLTableElement;
  if (caption != null) table.append(caption!.render());
  if (thead != null) table.append(thead!.render());
  if (tbody != null) table.append(tbody!.render());
  if (tfoot != null) table.append(tfoot!.render());

  return table;
}