render method

  1. @override
HTMLElement render()
override

Creates an HTML Element represention of Component.

Implementation

@override
HTMLElement render() {
  final element = super.render() as HTMLElement;
  final index = stack.indexOf(this);
  element.appendChild(builder(Context(index, this)).render());
  return element;
}