Method OnAfterFirstRenderAsync
OnAfterFirstRenderAsync()
Method invoked first time the component has been rendered. Note that the component does not automatically re-render after the completion of any returned Task, because that would cause an infinite render loop.
Declaration
protected override Task OnAfterFirstRenderAsync()
Returns
Type | Description |
---|---|
Task | A Task representing any asynchronous operation. |
Overrides
Remarks
The OnAfterRender(bool) and OnAfterRenderAsync(bool) lifecycle methods
are useful for performing interop, or interacting with values received from @ref
.