renderAfter method
Renders this component after an element with ID elementId
.
This also checks whether the parent has a valid ID.
Implementation
@nonVirtual
Future<void> renderAfter(Element element) async {
try {
await preRender();
element.insertAdjacentElement('afterEnd', baseInnerElement!);
await postRender();
} catch (e) {
throw ComponentNoParentException(id);
}
}