Is it possible to tell on onAfterRenderAsync if a certain ElementReference is present in the DOM (rendered) ?
I have something like this:
@if (condition) {
<input @ref="elem1" />
}
and on onAfterRenderAsync I need to know if elem1 is rendered, is this possible ( aside from looking at condition ) ?