render method

  1. @override
Element render(
  1. BuildContext context
)
override

Render the DOM element and add it to the context.

Implementation

@override
Element render(BuildContext context) {
  final v = ImageElement(src: src, height: height, width: width);
  if (alt != null) v.alt = alt!;
  return hook(context, v);
}